Convert a FD_Type file descriptor to a stdio File_Type object
File_Type fdopen (FD_Type, String_Type mode)
The fdopen function creates and returns a stdio
File_Type object from the open FD_Type
descriptor fd. The mode parameter corresponds to the
mode parameter of the fopen function and must be
consistent with the mode of the descriptor fd. The function
returns NULL upon failure and sets errno.
The fclose function does not close the File_Type object
returned from this function. The underlying file object must be
closed by the close function.
- slangrtl
-
clearerr,
close,
dup_fd,
fclose,
feof,
ferror,
fflush,
fgets,
fgetslines,
fileno,
fopen,
fputs,
fread,
fseek,
ftell,
fwrite,
isatty,
lseek,
mkdir,
open,
pclose,
popen,
read,
write
|