'\"macro stdmacro
.if n .pH ddi_dki.pollwakeup @(#)pollwakeup	40.6 of 10/10/89
.\" Copyright 1989 AT&T
.de IX
.ie '\\n(.z'' .tm .Index: \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9	\\n%
.el \\!.IX \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
..
.nr X
.if \nX=0 .ds x} pollwakeup D3DK "" "DDI/DKI" "\&"
.if \nX=1 .ds x} pollwakeup D3DK "" "DDI/DKI"
.if \nX=2 .ds x} pollwakeup D3DK "" "\&"
.if \nX=3 .ds x} pollwakeup "" "" "\&"
.TH \*(x}
.IX "\f4pollwakeup\f1(D3DK)
.SH NAME
\f4pollwakeup\f1 \- inform a process that an event has occurred
.SH SYNOPSIS
.nf
.na
\f4#include <sys/poll.h>\fP
.P
\f4void pollwakeup(struct pollhead *\f2php, \f4short \f2event\f4);\f1
.ad
.fi
.SH ARGUMENTS
.RS 0n
.IP "\f2php\f1" 10n
Pointer to a \f4pollhead\f1 structure.
.IP "\f2event\f1" 10n
Event to notify the process about.
.RE
.SH DESCRIPTION
The \f4pollwakeup\f1 function wakes a process waiting on the
occurrence of an event.  It should be called from a driver for each
occurrence of an event.  The \f4pollhead\f1 structure will usually
be associated with the driver's private data structure associated with
the particular minor device where the event has occurred.
See \f4chpoll\f1(D2DK) and \f4poll\f1(2)
for more detail.
.SH RETURN
None
.SH LEVEL
Base or Interrupt
.SH SEE ALSO
\f4chpoll\f1(D2DK), \f4poll\f1(2)
