Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ isastream(3C) — svr4 — mips UMIPS RISC/os 5.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

streamio(7)



ISASTREAM(3C-SVR4)  RISC/os Reference Manual   ISASTREAM(3C-SVR4)



NAME
     isastream - test a file descriptor

SYNOPSIS
     int isastream(int fildes);

DESCRIPTION
     The function isastream() determines if a file descriptor
     represents a STREAMS file.  fildes refers to an open file.

RETURN VALUE
     If successful, isastream() returns 1 if fildes represents a
     STREAMS file, and 0 if not.  On failure, isastream() returns
     -1 with errno set to indicate an error.

ERRORS
     Under the following conditions, isastream() fails and sets
     errno to:

     EBADF        fildes is not a valid open file.

SEE ALSO
     streamio(7).
     STREAMS Programmer's Guide.































                        Printed 11/19/92                   Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026