HP Rp7410 BSD Sockets Interface Programmer's Guide - Page 175
System Call, Description
View all HP Rp7410 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 175 highlights
Programming Hints Summary Tables for System and Library Calls System Call Description select ioctl fcntl Can be used to improve efficiency for a process that accesses multiple sockets or other I/O devices simultaneously. Refer to the sections on "Synchronous I/O Multiplexing with Select." Can be used for finding the number of receivable bytes with FIONREAD and for setting the nonblocking I/O flag with FIOSBNBIO. Can also be used for setting a socket to receive asynchronous signals with FIOASYNC . Can be used for duplicating a socket descriptor and for setting the O_NDELAY or O_NONBLOCK flag. BSD Sockets attempts to isolate host-specific information from applications by providing library calls that return the necessary information. The following table contains a summary of the library calls used with BSD Sockets. The library calls are in the common "c" library named libc.sl. Therefore, there is no need to specify any library name on the cc command line to use these library calls, libc.sl is used automatically. Chapter 8 175