Manpage of FILENO
FILENO
Section: NEWLIB (3)
Updated: 2005 Feb 23
Index
Return to Main Contents
NAME
3.10 `fileno'--return file descriptor associated with stream
SYNOPSIS
#include <stdio.h>
int fileno(FILE *FP);
DESCRIPTION
You can use `fileno' to return the file descriptor identified by FP.
RETURNS
`fileno' returns a non-negative integer when successful. If FP is not
an open stream, `fileno' returns -1.
PORTABILITY
`fileno' is not part of ANSI C. POSIX requires `fileno'.
Supporting OS subroutines required: none.
SEE ALSO
fileno
is part of the
libc
library.
The full documentation for
libc
is maintained as a Texinfo manual. If
info
and
libc
are properly installed at your site, the command
-
info libc
will give you access to the complete manual.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURNS
-
- PORTABILITY
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 21:25:17 GMT, May 16, 2005
www.fiveanddime.net