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  -  SP_POLL (3)

NAME

SP_poll - checks amount of data ready to be read

CONTENTS

Synopsis
Description
Bugs
Author

SYNOPSIS

#include <sp.h>
int SP_poll( mailbox mbox);

DESCRIPTION

SP_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.

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

Yair Amir <yairamir@cnds.jhu.edu>
Jonathan Stanton <jonathan@cnds.jhu.edu>

SEE ALSO

libspread(3)

Search for    or go to Top of page |  Section 3 |  Main Index


SPREAD SP_POLL (3) JULY 1998

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