[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 5

strreset Command

Purpose

Resets a stream. This command only applies to AIX Version 4.2 or later.

Syntax

strreset-M Major ] [ -m Minor ]

Description

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).

Flags

-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.

Exit Status

This command returns the following exit values:

0 Successful completion.
>0 An error occurred.

Security

Access Control: You must have root authority to run this command.

Auditing Events: N/A

Files

/usr/sbin/strreset Contains the strreset command.

[ Previous | Next | Contents | Glossary | Home | Search ]