©2004 by Marc J. Rochkind. All rights reserved. Portions marked "Open Source" may be copied under license.

 

Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ux/uxfile.cpp File Reference

Go to the source code of this file.

Functions

int poll (struct pollfd fdinfo[], nfds_t nfds, int timeout)
int pselect (int nfds, fd_set *readset, fd_set *writeset, fd_set *errorset, const struct timespec *timeout, const sigset_t *sigmask)
int select (int nfds, fd_set *readset, fd_set *writeset, fd_set *errorset, struct timeval *timeout)


Function Documentation

int poll struct pollfd  fdinfo[],
nfds_t  nfds,
int  timeout
 

Calls poll.

Parameters:
fdinfo  info on file descriptors to be tested
nfds  number of elements in fdinfo array
timeout  time-out (milliseconds)

Definition at line 276 of file uxfile.cpp.

References errno.

Referenced by readany3().

int pselect int  nfds,
fd_set *  readset,
fd_set *  writeset,
fd_set *  errorset,
const struct timespec timeout,
const sigset_t *  sigmask
 

Calls pselect.

Parameters:
nfds  highest fd + 1
readset  read set or NULL
writeset  write set or NULL
errorset  error set or NULL
timeout  time-out (nanoseconds) or NULL
sigmask  signal mask

Definition at line 288 of file uxfile.cpp.

References errno.

int select int  nfds,
fd_set *  readset,
fd_set *  writeset,
fd_set *  errorset,
struct timeval timeout
 

Calls select.

Parameters:
nfds  highest fd + 1
readset  read set or NULL
writeset  write set or NULL
errorset  error set or NULL
timeout  time-out (microseconds) or NULL

Definition at line 361 of file uxfile.cpp.

References errno.

Referenced by main(), pcsync_wait_for_parent(), pt_wait_master(), readany2(), readbuf(), run_server(), ssi_wait_server(), and thread_fdset().


Generated on Fri Apr 23 10:57:13 2004 for AUP2 Example Source by doxygen 1.3.1