phfree(D3) phfree(D3)
NAME
phfree - 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.
DESCRIPTION
phfree 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.
REFERENCES
chpoll(D2), phalloc(D3)
NOTICES
Portability
All processors
Applicability
ddi: 3, 5, 5mp, 6, 6mp, 7, 7mp
Copyright 1994 Novell, Inc. Page 1