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
    
 
Data Structures for Driversiocblk(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


SunOS 5.9Go To TopLast Changed 13 Nov 1996

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