phfree(D3)phfree(D3)NAMEphfree - free a pollhead structure
SYNOPSIS
#include <sys/poll.h>
#include <sys/ddi.h>
void phfree(struct pollhead *php);
Arguments
php Pointer to the pollhead structure to be freed.
DESCRIPTIONphfree frees the pollhead structure specified by php.
Return Values
None.
USAGE
The structure pointed to by php must have been previously allocated by a
call to phalloc(D3).
On systems where the phalloc function is available, DDI/DKI conforming
drivers should only use pollhead structures which have been allocated and
initialized using phalloc. Use of pollhead structures which have been
obtained by any other means is prohibited on such systems.
Level
Initialization, Base or Interrupt.
Synchronization Constraints
Does not sleep.
Driver-defined basic locks, read/write locks, and sleep locks may be held
across calls to this function.
REFERENCESpoll(D2), phalloc(D3)
Page 1