man Pages(9S): DDI and DKI Data Structures
只搜尋這本書
以 PDF 格式下載這本書

NAME

copyresp - STREAMS data structure for the M_IOCDATA message type

SYNOPSIS

#include <sys/stream.h>

INTERFACE LEVEL

Architecture independent level 1 (DDI/DKI).

DESCRIPTION

The data structure copyresp is used with the M_IOCDATA message type.

STRUCTURE MEMBERS

int
cp_cmd;
/* ioctl command (from ioc_cmd) * /
cred_t    * cp_cr;       /* full credentials * /
uint      cp_id;         /* ioctl id (from ioc_id) * /
caddr_t   cp_rval;       /* status of request: 0 -> success; non-zero -> failure * /
uint      cp_pad1;
int       cp_pad2;
mblk_t    * cp_private;  /* private state information * /
long      cp_filler[4];

SEE ALSO

STREAMS Programmer's Guide