---
name: "pvmfgetrbuf"
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_getrbuf"
---

# pvmfgetrbuf(3)

Returns the message buffer identifier for the active receive buffer.

Part of [pvm\_getrbuf(3)](/pvm_getrbuf/3.md).

## NAME

pvm\_getrbuf - Returns the message buffer identifier for the active receive buffer.

## SYNOPSIS

```
C	int bufid = pvm_getrbuf( void )
Fortran	call pvmfgetrbuf( bufid )
```

## PARAMETERS

- bufid

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

## DESCRIPTION

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

## EXAMPLES

```
C:
	bufid = pvm_getrbuf();

Fortran:
	CALL PVMFGETRBUF( BUFID )
```

## ERRORS

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

## SEE ALSO

**pvm\_getsbuf(3PVM)**
