 | | The fdopen function allows a low-level file descriptor to be converted to a file pointer so that the library's buffering and formatting features can be used. The file descriptor is given in fd; type indicates how the stream should be opened. Note that type must match how the file descriptor was originally opened; for example, it won't work to specify a type of w if the file descriptor is only open for reading. | |
|