copyreq(9S)
NAME
copyreq − STREAMS data structure for the M_COPYIN and the M_COPYOUT message types.
SYNOPSIS
#include <sys/stream.h>
INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI).
DESCRIPTION
The data structure for the M_COPYIN and the M_COPYOUT message types.
STRUCTURE MEMBERS
intcq_cmd;/∗ ioctl command (from ioc_cmd) ∗/
cred_t∗cq_cr;/∗ full credentials ∗/
uintcq_id;/∗ ioctl id (from ioc_id) ∗/
caddr_tcq_addr;/∗ address to copy data to/from ∗/
uintcq_size;/∗ number of bytes to copy ∗/
intcq_flag;/∗ see below ∗/
mblk_t∗cq_private;/∗ private state information ∗/
longcq_filler[4];/∗ reserved for future use ∗/
/∗ cq_flag values ∗/
#define STRCANON 0x01 /∗ b_cont data block contains ∗/
/∗ canonical format specifier ∗/
#define RECOPY 0x02/∗ perform I_STR copyin again, ∗/
/∗ this time using canonical ∗/
/∗ format specifier ∗/
SEE ALSO
STREAMS Programmer’s Guide
SunOS 5.4 — Last change: 07 Mar 1994