Data Structures for Drivers iocblk(9S)
NAME
iocblk - STREAMS data structure for the M_IOCTL message type
SYNOPSIS
#include
INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI).
DESCRIPTION
The iocblk data structure is used for passing M_IOCTL mes-
sages. STRUCTURE MEMBERSint ioc_cmd; /* ioctl command type */
cred_t *ioc_cr; /* full credentials */
uint_t ioc_id; /* ioctl id */
uint_t ioc_flag; /* ioctl flags */
uint_t ioc_count; /* count of bytes in data field */
int ioc_rval; /* return value */
int ioc_error; /* error code */
SEE ALSO
STREAMS Programming GuideSunOS 5.11 Last change: 13 Nov 1996 1