SSP_POLL
Section: User Manuals (3)
Updated: JULY 2001
NAME
SSP_poll - checks amount of data ready to be read
SYNOPSIS
#include <ssp.h>
int SSP_poll(mailbox mbox);
DESCRIPTION
SSP_poll
is a way to poll a mailbox to see if any messages are
available for receiving. The value returned will be < 0 if error,
0 if nothing is available, and the number of bytes waiting if
something is there. Note that although SSP_poll indicates that
there are bytes available, SSP_receive will block because the
data on the file descriptor is used by Flush and is not intended
for the user.
RETURN VALUES
Returns 0 if nothing is available or the number of bytes available, or one of the following errors ( < 0 ):
- ILLEGAL_SESSION
-
The session specified by
mbox
is illegal. Usually because it is not active.
BUGS
None.
AUTHOR
Cristina Nita-Rotaru <crisn@cnds.jhu.edu>
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURN VALUES
-
- BUGS
-
- AUTHOR
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 22:01:40 GMT, July 06, 2001