|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
#include <stdio.h> FILE *fdopen(int fd, const char *mode);
This function opens a stream-type file that uses the given fd
file, which must already be open. The file is opened with the modes
specified by mode, which is the same as for
See section fopen.
The newly created
FILE *, or
NULL on error.
FILE *stdprn = fdopen(4, "w");
|webmaster||delorie software privacy|
|Copyright © 2004||Updated Apr 2004|