hpux man page for fileno

Query: fileno

OS: hpux

Section: 3s

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

fileno(3S)																fileno(3S)

NAME
fileno() - map stream pointer to file descriptor
SYNOPSIS
Obsolescent Interfaces
DESCRIPTION
returns the integer file descriptor associated with the named stream; see open(2). The following symbolic values in define the file descriptors associated with and when a program is started : Value of zero for standard input, Value of 1 for standard output, Value of 2 for standard error, Obsolescent Interfaces map stream pointer to file descriptor
APPLICATION USAGE
is an obsolescent interface supported only for compatibility with existing DCE applications. New multithreaded applications should use
RETURN VALUE
Upon error, return -1.
SEE ALSO
open(2), flockfile(3S), fopen(3S), thread_safety(5).
STANDARDS CONFORMANCE
fileno(3S)
Related Man Pages
ferror(3s) - hpux
fflush(3s) - hpux
fputs(3s) - hpux
fputs_unloc(3s) - hpux
ungetc_unlo(3s) - hpux
Similar Topics in the Unix Linux Community
read, write & STDOUT_FILENO....
Writing from STDIN_FILENO to a file
File Creation notification
java.io.FileNotFoundException