cuos/dsink.h: Binding Data Sinks to Resources
[cuos: Interface to the Operating System]

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)

Function Documentation

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.

Generated 2009-11-23 for culibs-0.25 using Doxygen. Maintained by Petter Urkedal.