Query: qenable
OS: sunos
Section: 9f
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
qenable(9F) Kernel Functions for Drivers qenable(9F)NAMEqenable - enable a queueSYNOPSIS#include <sys/stream.h> #include <sys/ddi.h> void qenable(queue_t *q);INTERFACE LEVELArchitecture independent level 1 (DDI/DKI).PARAMETERSq Pointer to the queue to be enabled.DESCRIPTIONqenable() adds the queue pointed to by q to the list of queues whose service routines are ready to be called by the STREAMS scheduler.CONTEXTqenable() can be called from user or interrupt context.EXAMPLESSee the dupb(9F) function page for an example of the qenable().SEE ALSOdupb(9F) Writing Device Drivers STREAMS Programming Guide SunOS 5.10 11 Apr 1991 qenable(9F)