Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Kernel Functions for Driversqenable(9F)


NAME

 qenable - enable a queue

SYNOPSIS

 
#include <sys/stream.h>
#include <sys/ddi.h>
void qenable(queue_t *q);

INTERFACE LEVEL

 

Architecture independent level 1 (DDI/DKI).

PARAMETERS

 
q
Pointer to the queue to be enabled.

DESCRIPTION

 

qenable() 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

 

qenable() can be called from user or interrupt context.

EXAMPLES

 

See the dupb(9F) function page for an example of the qenable().

SEE ALSO

 

dupb(9F)

Writing Device Drivers

STREAMS Programming Guide


SunOS 5.9Go To TopLast Changed 11 Apr 1991

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.