Functions | |
| cu_dsink_t | cuos_dsink_fdopen (int fd) |
| cu_dsink_t | cuos_dsink_fdopen_close (int fd) |
| cu_dsink_t | cuos_dsink_fopen (char const *path) |
| cu_dsink_t cuos_dsink_fdopen | ( | int | fd | ) |
Returns a cu_dsink_t tied to the file descriptor fd. Closing the sink preserves fd.
| cu_dsink_t cuos_dsink_fdopen_close | ( | int | fd | ) |
Returns a cu_dsink_t tied to the file descriptor fd. Closing the sink effects a close(fd).
| cu_dsink_t cuos_dsink_fopen | ( | char const * | path | ) |
Creates a regular file at ref path to be filled with any data written to the sink.