1.1;lopstr (list_open_streams), revision 1.1, 81/06/27.
LOPSTR (LIST_OPEN_STREAMS) -- List open streams.
usage: LOPSTR
FORMAT
LOPSTR
LOPSTR lists the streams that are open for the current process.
The list contains the stream id and access mode (read, write, append,
and so forth) for each stream. The pathname (if one exists) associated
with each stream is also displayed.
LOPSTR requires no arguments or options.
EXAMPLE
$ lopstr
st# open name
0 read (standard input)
1 append (standard output)
2 read (error input)
3 append (error output)
4 streams open.