Back to index

glibc  2.9
Classes | Defines
stropts.h File Reference
#include <bits/types.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bandinfo
struct  strbuf
struct  strpeek
struct  strfdinsert
struct  strioctl
struct  strrecvfd
struct  str_mlist
struct  str_list

Defines

#define __SID   ('S' << 8)
#define I_NREAD
#define I_PUSH
#define I_POP
#define I_LOOK
#define I_FLUSH   (__SID | 5) /* Flush all input and/or output. */
#define I_SRDOPT   (__SID | 6) /* Sets the read mode. */
#define I_GRDOPT   (__SID | 7) /* Returns the current read mode setting. */
#define I_STR
#define I_SETSIG
#define I_GETSIG
#define I_FIND
#define I_LINK   (__SID |12) /* Connect two STREAMs. */
#define I_UNLINK   (__SID |13) /* Disconnects the two STREAMs. */
#define I_PEEK
#define I_FDINSERT
#define I_SENDFD
#define I_RECVFD   (__SID |14) /* Non-EFT definition. */
#define I_SWROPT   (__SID |19) /* Set the write mode. */
#define I_GWROPT   (__SID |20) /* Return the current write mode setting. */
#define I_LIST
#define I_PLINK
#define I_PUNLINK
#define I_FLUSHBAND   (__SID |28) /* Flush only band specified. */
#define I_CKBAND
#define I_GETBAND
#define I_ATMARK
#define I_SETCLTIME
#define I_GETCLTIME   (__SID |33) /* Get current value for closing timeout. */
#define I_CANPUT   (__SID |34) /* Check if a certain band is writable. */
#define FMNAMESZ   8 /* compatibility w/UnixWare/Solaris. */
#define FLUSHR   0x01 /* Flush read queues. */
#define FLUSHW   0x02 /* Flush write queues. */
#define FLUSHRW   0x03 /* Flush read and write queues. */
#define S_INPUT
#define S_HIPRI   0x0002 /* A high-priority message is present. */
#define S_OUTPUT
#define S_MSG
#define S_ERROR   0x0010 /* Notification of an error condition. */
#define S_HANGUP   0x0020 /* Notification of a hangup. */
#define S_RDNORM   0x0040 /* A normal message has arrived. */
#define S_WRNORM   S_OUTPUT
#define S_RDBAND
#define S_WRBAND
#define S_BANDURG
#define RS_HIPRI   0x01 /* Only look for high-priority messages. */
#define RNORM   0x0000 /* Byte-STREAM mode, the default. */
#define RMSGD   0x0001 /* Message-discard mode. */
#define RMSGN   0x0002 /* Message-nondiscard mode. */
#define RPROTDAT
#define RPROTDIS
#define RPROTNORM
#define SNDZERO
#define ANYMARK   0x01 /* Check if the message is marked. */
#define LASTMARK
#define MSG_HIPRI   0x01 /* Send/receive high priority message. */
#define MSG_ANY   0x02 /* Receive any message. */
#define MSG_BAND   0x04 /* Receive message from specified band. */
#define MORECTL
#define MOREDATA   2 /* More data is left in message. */

Class Documentation

struct bandinfo

Definition at line 129 of file stropts.h.

Class Members
int bi_flag
unsigned char bi_pri
struct strbuf

Definition at line 135 of file stropts.h.

Class Members
char * buf
int len
int maxlen
struct strpeek

Definition at line 142 of file stropts.h.

Class Members
t_uscalar_t flags
struct strfdinsert

Definition at line 149 of file stropts.h.

Class Members
int fildes
t_uscalar_t flags
int offset
struct strioctl

Definition at line 158 of file stropts.h.

Class Members
int ic_cmd
char * ic_dp
int ic_len
int ic_timout
struct strrecvfd

Definition at line 166 of file stropts.h.

Class Members
char __fill
int fd
gid_t gid
uid_t uid
struct str_mlist

Definition at line 175 of file stropts.h.

Class Members
char l_name
struct str_list

Definition at line 180 of file stropts.h.

Collaboration diagram for str_list:
Class Members
size_t len
struct str_list * next
struct str_mlist * sl_modlist
int sl_nmods
const char * str

Define Documentation

#define __SID   ('S' << 8)

Definition at line 29 of file stropts.h.

#define ANYMARK   0x01 /* Check if the message is marked. */

Definition at line 108 of file stropts.h.

#define FLUSHR   0x01 /* Flush read queues. */

Definition at line 66 of file stropts.h.

#define FLUSHRW   0x03 /* Flush read and write queues. */

Definition at line 68 of file stropts.h.

#define FLUSHW   0x02 /* Flush write queues. */

Definition at line 67 of file stropts.h.

#define FMNAMESZ   8 /* compatibility w/UnixWare/Solaris. */

Definition at line 63 of file stropts.h.

#define I_ATMARK
Value:
(__SID |31) /* See if the current message on the STREAM
                               head read queue is "marked" by some module
                               downstream.  */

Definition at line 56 of file stropts.h.

#define I_CANPUT   (__SID |34) /* Check if a certain band is writable. */

Definition at line 59 of file stropts.h.

#define I_CKBAND
Value:
(__SID |29) /* Check if the message of a given priority
                               band exists on the STREAM head read
                               queue.  */

Definition at line 54 of file stropts.h.

#define I_FDINSERT
Value:
(__SID |16) /* Create a message from the specified
                               buffer(s), adds information about another
                               STREAM, and send the message downstream.  */

Definition at line 45 of file stropts.h.

#define I_FIND
Value:
(__SID |11) /* Compares the names of all modules currently
                               present in the STREAM to the name pointed to
                               by `arg'.  */

Definition at line 41 of file stropts.h.

#define I_FLUSH   (__SID | 5) /* Flush all input and/or output. */

Definition at line 35 of file stropts.h.

#define I_FLUSHBAND   (__SID |28) /* Flush only band specified. */

Definition at line 53 of file stropts.h.

#define I_GETBAND
Value:
(__SID |30) /* Return the priority band of the first
                               message on the STREAM head read queue.  */

Definition at line 55 of file stropts.h.

#define I_GETCLTIME   (__SID |33) /* Get current value for closing timeout. */

Definition at line 58 of file stropts.h.

#define I_GETSIG
Value:
(__SID |10) /* Return the events for which the calling
                               process is currently registered to be sent
                               a SIGPOLL signal.  */

Definition at line 40 of file stropts.h.

#define I_GRDOPT   (__SID | 7) /* Returns the current read mode setting. */

Definition at line 37 of file stropts.h.

#define I_GWROPT   (__SID |20) /* Return the current write mode setting. */

Definition at line 49 of file stropts.h.

#define I_LINK   (__SID |12) /* Connect two STREAMs. */

Definition at line 42 of file stropts.h.

#define I_LIST
Value:
(__SID |21) /* List all the module names on the STREAM, up
                               to and including the topmost driver name. */

Definition at line 50 of file stropts.h.

#define I_LOOK
Value:
(__SID | 4)   /* Retrieve the name of the module just below
                               the STREAM head and place it in a character
                               string.  */

Definition at line 34 of file stropts.h.

#define I_NREAD
Value:
(__SID | 1)   /* Counts the number of data bytes in the data
                               block in the first message.  */

Definition at line 31 of file stropts.h.

#define I_PEEK
Value:
(__SID |15) /* Allows a process to retrieve the information
                               in the first message on the STREAM head read
                               queue without taking the message off the
                               queue.  */

Definition at line 44 of file stropts.h.

#define I_PLINK
Value:
(__SID |22) /* Connect two STREAMs with a persistent
                               link.  */

Definition at line 51 of file stropts.h.

#define I_POP
Value:
(__SID | 3)   /* Remove STREAMS module from just below the
                               STREAM head.  */

Definition at line 33 of file stropts.h.

#define I_PUNLINK
Value:
(__SID |23) /* Disconnect the two STREAMs that were
                               connected with a persistent link.  */

Definition at line 52 of file stropts.h.

#define I_PUSH
Value:
(__SID | 2)   /* Push STREAMS module onto top of the current
                               STREAM, just below the STREAM head.  */

Definition at line 32 of file stropts.h.

#define I_RECVFD   (__SID |14) /* Non-EFT definition. */

Definition at line 47 of file stropts.h.

#define I_SENDFD
Value:
(__SID |17) /* Requests the STREAM associated with `fildes'
                               to send a message, containing a file
                               pointer, to the STREAM head at the other end
                               of a STREAMS pipe.  */

Definition at line 46 of file stropts.h.

#define I_SETCLTIME
Value:
(__SID |32) /* Set the time the STREAM head will delay when
                               a STREAM is closing and there is data on
                               the write queues.  */

Definition at line 57 of file stropts.h.

#define I_SETSIG
Value:
(__SID | 9)   /* Inform the STREAM head that the process
                               wants the SIGPOLL signal issued.  */

Definition at line 39 of file stropts.h.

#define I_SRDOPT   (__SID | 6) /* Sets the read mode. */

Definition at line 36 of file stropts.h.

#define I_STR
Value:
(__SID | 8)   /* Construct an internal STREAMS `ioctl'
                               message and send that message downstream. */

Definition at line 38 of file stropts.h.

#define I_SWROPT   (__SID |19) /* Set the write mode. */

Definition at line 48 of file stropts.h.

#define I_UNLINK   (__SID |13) /* Disconnects the two STREAMs. */

Definition at line 43 of file stropts.h.

#define LASTMARK
Value:
0x02   /* Check if the message is the last one marked
                               on the queue.  */

Definition at line 109 of file stropts.h.

#define MORECTL
Value:
1      /* More control information is left in
                               message.  */

Definition at line 124 of file stropts.h.

#define MOREDATA   2 /* More data is left in message. */

Definition at line 125 of file stropts.h.

#define MSG_ANY   0x02 /* Receive any message. */

Definition at line 120 of file stropts.h.

#define MSG_BAND   0x04 /* Receive message from specified band. */

Definition at line 121 of file stropts.h.

#define MSG_HIPRI   0x01 /* Send/receive high priority message. */

Definition at line 119 of file stropts.h.

#define RMSGD   0x0001 /* Message-discard mode. */

Definition at line 91 of file stropts.h.

#define RMSGN   0x0002 /* Message-nondiscard mode. */

Definition at line 92 of file stropts.h.

#define RNORM   0x0000 /* Byte-STREAM mode, the default. */

Definition at line 90 of file stropts.h.

#define RPROTDAT
Value:
0x0004 /* Deliver the control part of a message as
                               data.  */

Definition at line 93 of file stropts.h.

#define RPROTDIS
Value:
0x0008 /* Discard the control part of a message,
                               delivering any data part.  */

Definition at line 94 of file stropts.h.

#define RPROTNORM
Value:
0x0010 /* Fail `read' with EBADMSG if a message
                               containing a control part is at the front
                               of the STREAM head read queue.  */

Definition at line 95 of file stropts.h.

#define RS_HIPRI   0x01 /* Only look for high-priority messages. */

Definition at line 87 of file stropts.h.

#define S_BANDURG
Value:
0x0200 /* When used in conjunction with S_RDBAND,
                               SIGURG is generated instead of SIGPOLL when
                               a priority message reaches the front of the
                               STREAM head read queue.  */

Definition at line 84 of file stropts.h.

#define S_ERROR   0x0010 /* Notification of an error condition. */

Definition at line 78 of file stropts.h.

#define S_HANGUP   0x0020 /* Notification of a hangup. */

Definition at line 79 of file stropts.h.

#define S_HIPRI   0x0002 /* A high-priority message is present. */

Definition at line 75 of file stropts.h.

#define S_INPUT
Value:
0x0001 /* A message, other than a high-priority
                               message, has arrived.  */

Definition at line 74 of file stropts.h.

#define S_MSG
Value:
0x0008 /* A STREAMS signal message that contains the
                               SIGPOLL signal reaches the front of the
                               STREAM head read queue.  */

Definition at line 77 of file stropts.h.

#define S_OUTPUT
Value:
0x0004 /* The write queue for normal data is no longer
                               full.  */

Definition at line 76 of file stropts.h.

#define S_RDBAND
Value:
0x0080 /* A message with a non-zero priority has
                               arrived.  */

Definition at line 82 of file stropts.h.

#define S_RDNORM   0x0040 /* A normal message has arrived. */

Definition at line 80 of file stropts.h.

#define S_WRBAND
Value:
0x0100 /* The write queue for a non-zero priority
                               band is no longer full.  */

Definition at line 83 of file stropts.h.

#define S_WRNORM   S_OUTPUT

Definition at line 81 of file stropts.h.

#define SNDZERO
Value:
0x001  /* Send a zero-length message downstream when a
                               `write' of 0 bytes occurs.  */

Definition at line 101 of file stropts.h.