hpux man page for isastream

Query: isastream

OS: hpux

Section: 3c

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

isastream(3C)															     isastream(3C)

NAME
isastream() - determine if a file descriptor refers to a STREAMS device or STREAMS-based pipe
SYNOPSIS
DESCRIPTION
The function tests whether an open file descriptor (fd) corresponds to a STREAMS device or STREAMS-based pipe.
RETURN VALUE
Upon successful completion, the function returns a value of 1 when the file descriptor of the open file specified by fd is a STREAMS device or STREAMS-based pipe, and 0 (zero) if it is not a stream, but is a valid open file descriptor. Otherwise, a value of -1 is returned, and is set to indicate the error.
ERRORS
If any of the following conditions occur, the function sets to the corresponding value: [EBADF] The specified file descriptor does not refer to a valid open file.
SEE ALSO
fattach(3C), fdetach(3C), streamio(7).
STANDARDS COMPLIANCE
isastream(3C)
Related Man Pages
isastream(3c) - debian
isastream(3c) - xfree86
isastream(3c) - v7
isastream(3c) - mojave
isastream(3c) - plan9
Similar Topics in the Unix Linux Community
using popen with background process