---
name: "pvm_getsbuf"
section: "3"
platform: "linux"
package: "pvm-dev"
version: "3.4.2-8"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/pvm_getsbuf"
---

# pvm\_getsbuf(3)

Returns the message buffer identifier for the active send buffer.

## NAME

pvm\_getsbuf - Returns the message buffer identifier for the active send buffer.

## SYNOPSIS

```
C	int bufid = pvm_getsbuf( void )
Fortran	call pvmfgetsbuf( bufid )
```

## PARAMETERS

- bufid

  **Integer returning message buffer identifier for the active** **send buffer.**

## DESCRIPTION

**The routine** *pvm\_getsbuf* **returns the message buffer identifier** *bufid* **for the active send buffer or 0 if there is no current buffer.**

## EXAMPLES

```
C:
	bufid = pvm_getsbuf();

Fortran:
	CALL PVMFGETSBUF( BUFID )
```

## ERRORS

**No error conditions are returned by** *pvm\_getsbuf*

## SEE ALSO

**pvm\_getrbuf(3PVM)**
