fileno(3s) hpux man page | unix.com

Man Page: fileno

Operating Environment: hpux

Section: 3s

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
ungetc(3s) - hpux
fclose(3s) - hpux
feof(3s) - hpux
fputs(3s) - hpux
fputs_unloc(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