1copyresp(9S) Data Structures for Drivers copyresp(9S)
2
3
4
6 copyresp - STREAMS data structure for the M_IOCDATA message type
7
9 #include <sys/stream.h>
10
11
13 Architecture independent level 1 (DDI/DKI)
14
16 The data structure copyresp is used with the M_IOCDATA message type.
17
19 int cp_cmd; /* ioctl command (from ioc_cmd) */
20 cred_t *cp_cr; /* full credentials */
21 uint_t cp_id; /* ioctl id (from ioc_id) */
22 uint_t cp_flag; /* ioctl flags */
23 mblk_t *cp_private; /* private state information */
24 caddr_t cp_rval; /* status of request: 0 -> success;
25 /* non-zero -> failure */
26
27
29 STREAMS Programming Guide
30
31
32
33SunOS 5.11 14 Nov 1996 copyresp(9S)