1iocblk(9S)                Data Structures for Drivers               iocblk(9S)
2
3
4

NAME

6       iocblk - STREAMS data structure for the M_IOCTL message type
7

SYNOPSIS

9       #include <sys/stream.h>
10
11

INTERFACE LEVEL

13       Architecture independent level 1 (DDI/DKI).
14

DESCRIPTION

16       The iocblk data structure is used for passing M_IOCTL messages.
17

STRUCTURE MEMBERS

19         int         ioc_cmd;      /* ioctl command type */
20         cred_t      *ioc_cr;      /* full credentials */
21         uint_t      ioc_id;       /* ioctl id */
22         uint_t      ioc_flag;     /* ioctl flags */
23         uint_t      ioc_count;    /* count of bytes in data field */
24         int         ioc_rval;     /* return value */
25         int         ioc_error;    /* error code */
26
27

SEE ALSO

29       STREAMS Programming Guide
30
31
32
33SunOS 5.11                        13 Nov 1996                       iocblk(9S)
Impressum