pollwakeup(9F)
NAME
pollwakeup − inform a process that an event has occurred
SYNOPSIS
#include <sys/poll.h>
void pollwakeup(struct pollhead ∗php, short event);
ARGUMENTS
php Pointer to a pollhead structure.
event Event to notify the process about.
INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI).
DESCRIPTION
pollwakeup() wakes a process waiting on the occurrence of an event. It should be called from a driver for each occurrence of an event. The pollhead structure will usually be associated with the driver’s private data structure associated with the particular minor device where the event has occurred. See chpoll(9E) and poll(2) for more detail.
CONTEXT
pollwakeup() can be called from user or interrupt context.
SEE ALSO
SunOS 5.1/SPARC — Last change: 11 Apr 1991