stropts.h, stropts - STREAMS interface (STREAMS)
#include <stropts.h>
The <stropts.h> header defines the bandinfo structure, which includes the following members:
unsigned char bi_pri /* priority band */ int bi_flag /* flushing type */
The <stropts.h> header defines the strpeek structure that includes the following members:
struct strbuf ctlbuf /* control portion of the message */ struct strbuf databuf /* data portion of the message */ t_uscalar_t flags /* RS_HIPRI or 0 */
The <stropts.h> header defines the strbuf structure that includes the following members:
int maxlen /* maximum buffer length */ int len /* length of data */ char *buf /* pointer to buffer */
The <stropts.h> header defines the strfdinsert structure that includes the following members:
struct strbuf ctlbuf /* control portion of the message */ struct strbuf databuf /* data portion of the message */ t_uscalar_t flags /* RS_HIPRI or 0 */ int fildes /* file descriptor of the other STREAM */ int offset /* relative location of the stored value */
The <stropts.h> header defines the strioctl structure that includes the following members:
int ic_cmd /* ioctl() command */ int ic_timout /* timeout for response */ int ic_len /* length of data */ char *ic_dp /* pointer to buffer */
The <stropts.h> header defines the strrecvfd structure that includes the following members:
int fda /* received file descriptor */ uid_t uid /* UID of sender */ gid_t gid /* GID of sender */
The uid_t and gid_t types are defined through typedef as described in <sys/types.h>. See types.h(3HEAD).
The <stropts.h> header defines the t_scalar_t and t_uscalar_t types, respectively, as signed and unsigned opaque types of equal length of at least 32 bits.
The <stropts.h> header defines the str_list structure that includes the following members:
int sl_nmods /* number of STREAMS module names */ struct str_mlist *sl_modlist /* STREAMS module names */
The <stropts.h> header defines the str_mlist structure that includes the following member:
char l_name[FMNAMESZ+1]
The following macros are defined for use as the request argument to ioctl():
I_PUSH
I_POP
I_LOOK
I_FLUSH
I_FLUSHBAND
I_SETSIG
I_GETSIG
I_FIND
I_PEEK
I_SRDOPT
I_GRDOPT
I_NREAD
I_FDINSERT
I_STR
I_SWROPT
I_GWROPT
I_SENDFD
I_RECVFD
I_LIST
I_ATMARK
I_CKBAND
I_GETBAND
I_CANPUT
I_SETCLTIME
I_GETCLTIME
I_LINK
I_UNLINK
I_PLINK
I_PUNLINK
The following macro is defined for use with I_LOOK:
FMNAMESZ
The following macros are defined for use with I_FLUSH:
FLUSHR
FLUSHW
FLUSHRW
The following macros are defined for use with I_SETSIG:
S_RDNORM
S_RDBAND
S_INPUT
S_HIPRI
S_OUTPUT
S_WRNORM
S_WRBAND
S_MSG
S_ERROR
S_HANGUP
S_BANDURG
The following macro is defined for use with I_PEEK:
RS_HIPRI
The following macros are defined for use with I_SRDOPT:
RNORM
RMSGD
RMSGN
RPROTNORM
RPROTDAT
RPROTDIS
The following macro is defined for use with I_SWOPT:
SNDZERO
The following macros are defined for use with I_ATMARK:
ANYMARK
LASTMARK
The following macro is defined for use with I_UNLINK:
MUXID_ALL
The following macros are defined for getmsg(), getpmsg(), putmsg(), and putpmsg():
MSG_ANY
MSG_BAND
MSG_HIPRI
MORECTL
MOREDATA
The <stropts.h> header can make visible all of the symbols from <unistd.h>.
See attributes(5) for descriptions of the following attributes:
|
close(2), fcntl(2), getmsg(2), ioctl(2), open(2), pipe(2), poll(2), putmsg(2), read(2), write(2), signal(3C), types.h(3HEAD), unistd.h(3HEAD), attributes(5), standards(5)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |