streamio(7I) details the following ioctl(2) commands.
Table 4-2 Other ioctl(2) Commands
Description |
|
---|---|
I_FLUSH |
Retrieves the name of the module just below the Stream head |
I_FLUSH |
Flushes all input or output queues |
I_FLUSHBAND |
Flushes a band of messages |
I_FIND |
Compares the names of all modules present in the Stream to a specific name |
I_PEEK |
Lets the user look at information in the first message on the Stream head read queue without taking the message off the queue |
I_STRDOPT |
Sets the read mode using a series of flag options in the argument |
I_GRDOPT |
Indicates the read mode in an int |
I_NREAD |
Counts the data bytes in data blocks in the first message on the Stream head read queue |
I_FDINSERT |
Creates a message from a user buffer, adds information about another Stream, and sends the message downstream |
I_SWROPT |
Sets the write mode using the value of the argument |
I_GWROPT |
Returns the current write mode setting |
I_SENDFD |
Requests that the Stream send a message with file pointer to the Stream head at the other end of a Stream pipe |
I_RECVFD |
Retrieves the file descriptor of the message sent by an I_SENDFD ioctl(2) over a Stream pipe |
I_ATMARK |
Lets the application see if the current message on the Stream-head read queue is marked by a module downstream |
I_CKBAND |
Checks if the message of a given priority band exists on the Stream-head read queue |
I_GETNBAND |
Returns the priority band of the first message on the Stream-head read queue |
I_CANPUT |
Checks if a certain band is writable |
I_SETCLTIME |
Lets the user set the time the Stream head will delay when a Stream is closing if data exists on the write queues |
I_GETCLTIME |
Returns the close time delay |
I_LINK |
Connects two Streams |
I_UNLINK |
Disconnects two Streams |
I_PLINK |
Connects two Streams with a persistent link below a multiplexing driver |
I_PUNLINK |
Disconnects two Streams that have been connected with a persistent link |