1qenable(9F)              Kernel Functions for Drivers              qenable(9F)
2
3
4

NAME

6       qenable - enable a queue
7

SYNOPSIS

9       #include <sys/stream.h>
10       #include <sys/ddi.h>
11
12
13
14       void qenable(queue_t *q);
15
16

INTERFACE LEVEL

18       Architecture independent level 1 (DDI/DKI).
19

PARAMETERS

21       q    Pointer to the queue to be enabled.
22
23

DESCRIPTION

25       The  qenable()  function adds the queue pointed to by  q to the list of
26       queues whose service routines are ready to be  called  by  the  STREAMS
27       scheduler.
28

CONTEXT

30       The  qenable()  function  can be called from user, interrupt, or kernel
31       context.
32

EXAMPLES

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

SEE ALSO

37       dupb(9F)
38
39
40       Writing Device Drivers
41
42
43       STREAMS Programming Guide
44
45
46
47SunOS 5.11                        16 Jan 2006                      qenable(9F)
Impressum