poll (SunOS) poll (SunOS)
NAME
poll - Monitors conditions on multiple file descriptors
SUN OS SYNOPSIS
#include<poll.h>
int poll(
struct pollfd filedes[ ],
unsigned long nfds,
int timeout );
DIGITAL UNIX SYNOPSIS
#include<sys/poll.h>
int poll(
struct pollfd filedes[ ],
unsigned int nfds,
int timeout );
PARAMETERS
Points to an array of pollfd structures, one for each file descriptor
of interest. Specifies the number of pollfd structures in the filedes
array. Specifies the maximum length of time (in milliseconds) to wait
for at least one of the specified events to occur.
DIFFERENCES
The Digital UNIX poll() function requires the sys/poll.h header file,
but does not require stropts.h. Also the declaration type of nfds has
changed from long to unsigned int.
RELATED INFORMATION
Digital UNIX Functions:
poll(2) delim off
poll (SunOS)