SETSBUF(3PVM) PVM Version 3.4 SETSBUF(3PVM)NAME
pvm_setsbuf - Switches the active send buffer.
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)
30 August, 1993 SETSBUF(3PVM)
Check Out this Related Man Page
SETRBUF(3PVM) PVM Version 3.4 SETRBUF(3PVM)NAME
pvm_setrbuf - Switches the active receive buffer and saves the previous buffer.
SYNOPSIS
C int oldbuf = pvm_setrbuf( int bufid )
Fortran call pvmfsetrbuf( bufid, oldbuf )
PARAMETERS
bufid Integer specifying the message buffer identifier for the new active receive buffer.
oldbuf Integer returning the message buffer identifier for the previous active receive buffer.
DESCRIPTION
The routine pvm_setrbuf switches the active receive buffer to bufid and saves the previous active receive buffer oldbuf. If bufid is set
to 0 then the present active receive buffer is saved and no active receive buffer exists.
A successful receive automatically creates a new active receive buffer. If a previous receive has not been unpacked and needs to be saved
for later, then the previous bufid can be saved and reset later to the active buffer for unpacking.
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:
rbuf1 = pvm_setrbuf( rbuf2 );
Fortran:
CALL PVMFSETRBUF( NEWBUF, OLDBUF )
ERRORS
These error conditions can be returned by pvm_setrbuf
PvmBadParam
giving an invalid bufid.
PvmNoSuchBuf
switching to a non-existent message buffer.
SEE ALSO pvm_setsbuf(3PVM)
30 August, 1993 SETRBUF(3PVM)
Hi. I have some questions about using sed. I cannot use the hold buffer. For example i want to put first line to the buffer than take second line and append the buffer to the second line.then 3th to the all. It will be like 2->1->3 th lines. Any idea? (1 Reply)
Hi guys I'm quite new to socket programming. I'm using Beej's guide.
I have a program that requests a html page and downloads it one character at a time stopping when it reaches an EOF. I do this with the send() and recv() functions. When I'm finished I use send() again to get another page but... (1 Reply)
i would like to ask about unix with active directory..actually my situation is at ny place there already have dns server in unix based,i want to implement an active directory to the network..from what i read about active directory we have to used bind dns...some say that bind could not handle in... (1 Reply)
hi!
i want to create a list of the active working of the system classified by size and run the list on the monitor in a contolled pattern.Every active work has to appear only once.
Any suggestions?
also how can i create a list of the active working that does not belong to the user root?thanks (5 Replies)
I have only some info into my buffer, but after a rssi command I see the folowing lines expected into buffer but not present :
rssi=-106
rssi=-109
I see in my buffer only the first part of the output, here you are a part of script :
#!/usr/bin/expect -f
#global expect_out
match_max 10000000... (1 Reply)
40 years ago today was the first time that two computers exchanged information using packet switching and telephone lines. While it was only possible to send 2 characters ("lo") before the receiving system crashed, it was a success nonetheless.
Just think where we'd be today without someone who... (1 Reply)
I am trying to use send and receive using expect. the expect_out(buffer) is working fine while it is running it as foreground. But the same script when it is ran as background, the expect_out(buffer) errored out.
Is there any factor influence when we run script in foreground and in background? ... (0 Replies)
Hi
This is the lspv output of my server :
cbspsdb01 #lspv
hdisk0 00c7518d2d512fd4 cdgvg active
hdisk1 00c7518d2dcbc9d6 cdgvg active
hdisk2 00c7518dcda9199a appvg active
hdisk3... (1 Reply)
hello,
I have an issue with my aix box. the power went down. I got the box back up and can log into it. the datavg drives are not showing as active. How do i make them active. let me know if you need any screenshots let me know.
Thanks
---------- Post updated at 09:48 PM ----------... (1 Reply)
Hi,
Suppose I have a command:$ cmd1 | cmd2I need to send a message from cmd2 to cmd1 when I receive some a certain message from cmd1. How to do this?
I think that I have to know cmd1's PID and then in cmd2 send a message to this PID. How? (24 Replies)