IOCBLK(9S) Data Structures for Drivers IOCBLK(9S)
NAME
iocblk - STREAMS data structure for the M_IOCTL message type
SYNOPSIS
#include <sys/stream.h>
INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI).
DESCRIPTION
The
iocblk data structure is used for passing
M_IOCTL messages.
STRUCTURE MEMBERS
int 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 Guide November 13, 1996 IOCBLK(9S)