GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PVM_SETSBUF (3)

NAME

pvm_setsbuf - Switches the active send buffer.

CONTENTS

Synopsis
Parameters
Description
Examples
Errors
See Also

SYNOPSIS


C       int oldbuf = pvm_setsbuf( int bufid )

Fortran call pvmfsetsbuf( bufid, oldbuf )

PARAMETERS

bufid Integer the message buffer identifier for the new active send buffer. A value of 0 indicates the default receive buffer.
oldbuf Integer returning the message buffer identifier for the previous active send buffer.

DESCRIPTION

The routine pvm_setsbuf switches the active send buffer to bufid and saves the previous active send buffer oldbuf. If bufid is set to 0 then the present active send buffer is saved and no active send buffer exists.

The routine is required when managing multiple message buffers. For example switching back and forth between two buffers. One buffer could be used to send information to a graphical interface while a second buffer could be used send data to other tasks in the application.

EXAMPLES

C:
        sbuf1 = pvm_setsbuf( sbuf2 );
Fortran:
        CALL PVMFSETSBUF( NEWBUF, OLDBUF )

ERRORS

These error conditions can be returned by pvm_setsbuf
PvmBadParam giving an invalid bufid.
PvmNoSuchBuf switching to a non-existent message buffer.

SEE ALSO

pvm_setrbuf(3PVM)
Search for    or go to Top of page |  Section 3 |  Main Index


SETSBUF (3PVM) 30 August, 1993

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.