Resets a stream.
strreset [ -M Major ] [ -m Minor ]
The strreset command resets an open stream by generating an M_FLUSH message to the stream head. You use it mainly to reset blocked streams. When it is impossible to reopen the stream, issue an I_FLUSH ioctl(), or equivalent command. This situation may happen with a process sleeping in a module's close routine, when signals can not be sent to the process (a zombie process exiting, for example).
Item | Description |
---|---|
-M Major | Specifies the major number for the special file associated with the stream to be reset. |
-m Minor | Specifies the minor number for the special file associated with the stream to be reset. |
This command returns the following exit values:
Item | Description |
---|---|
0 | Successful completion. |
>0 | An error occurred. |
Access Control: You must have root authority to run this command.
Auditing Events: N/A
Item | Description |
---|---|
/usr/sbin/strreset | Contains the strreset command. |