*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> isastream (3c)              


isastream(3C)							 isastream(3C)

NAME    [Toc]    [Back]

     isastream - test a	file descriptor

SYNOPSIS    [Toc]    [Back]

     #include <sys/stropts.h>

     int isastream(int fildes);

DESCRIPTION    [Toc]    [Back]

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

RETURN VALUE    [Toc]    [Back]

     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    [Toc]    [Back]

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

     EBADF	  fildes is not	a valid	open file.

SEE ALSO    [Toc]    [Back]


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
isfdtype Tru64 Test a file descriptor for a specific file type
pxfisatty IRIX Determines if file descriptor corresponds to a valid file descriptor
fdetach Tru64 Detach a STREAMS-based file descriptor from a file in the file system name space
fattach Tru64 Attach a STREAMS-based file descriptor to a file in the file system name space
AFopenfile IRIX allocate an AFfilehandle structure for an audio file identified by name / by a Unix file descriptor
AFidentifyfd IRIX retrieve the audio file format of a file descriptor / open AFfilehandle
isastream Tru64 Determine if a file descriptor refers to a STREAMS file
fdetach Tru64 Detaches a STREAMS-based file descriptor from a file
acl_set_fd Tru64 Sets the ACL on the file or directory designated by the file descriptor
AFgetfd IRIX get the Unix file descriptor for the file associated with an AFfilehandle structure
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service