Kernel Functions for Drivers qenable(9F)
NAME
qenable - enable a queue
SYNOPSIS
#include
#include
void qenable(queue_t *q);
INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI).
PARAMETERS
q Pointer to the queue to be enabled.DESCRIPTION
The qenable() function adds the queue pointed to by q to
the list of queues whose service routines are ready to be called by the STREAMS scheduler.CONTEXT
The qenable() function can be called from user, interrupt,
or kernel context.EXAMPLES
See the dupb(9F) function page for an example of the qen-
able().SEE ALSO
dupb(9F) Writing Device Drivers STREAMS Programming GuideSunOS 5.11 Last change: 16 Jan 2006 1