Resets a stream. This command only applies to AIX 4.2 or later.
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).
|-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:
|>0||An error occurred.|
Access Control: You must have root authority to run this command.
Auditing Events: N/A
|/usr/sbin/strreset||Contains the strreset command.|