[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 5

strreset Command

Purpose

Resets a stream.

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.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]