isteam68_fd implements istream_t for file descriptor.
#include "file68/istream68.h"
Go to the source code of this file.
Functions | |
istream_t * | istream_fd_create (const char *fname, int fd, int mode) |
Creates a stream for "UNIX" file descriptor. |
|
Creates a stream for "UNIX" file descriptor. If fd parameters is not -1, it is used to as file descriptor for the stream and fname is used for naming the stream. Else the file is open as a regular file with fname as path.
|