Manpage of FDOPEN

Google
Web www.fiveanddime.net

FDOPEN

Section: NEWLIB (3)
Updated: 2005 Feb 23
Index Return to Main Contents
 

NAME

3.12 `fdopen'--turn open file into a stream

 

SYNOPSIS


     #include <stdio.h>
     FILE *fdopen(int FD, const char *MODE);
     FILE *_fdopen_r(struct _reent *REENT,
         int FD, const char *MODE);  

DESCRIPTION

`fdopen' produces a file descriptor of type `FILE *', from a descriptor for an already-open file (returned, for example, by the system subroutine `open' rather than by `fopen'). The MODE argument has the same meanings as in `fopen'.

 

RETURNS

File pointer or `NULL', as for `fopen'.

 

PORTABILITY

`fdopen' is ANSI.

 

SEE ALSO

fdopen 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:16 GMT, May 16, 2005



www.fiveanddime.net








Google
Web www.fiveanddime.net