GNU Dico Manual (split by section):   Section:   Chapter:FastBack: Libdico   Up: Libdico   FastForward: Copying This Manual   Contents: Table of ContentsIndex: Concept Index

D.8 stream

Editor’s note:

The information in this node may be obsolete or otherwise inaccurate. This message will disappear, once this node revised.

Function: int dico_stream_create (dico_stream_t *pstream, int flags, void *data)
DICO_STREAM_READ
DICO_STREAM_WRITE
DICO_STREAM_SEEK
Function: int dico_stream_open (dico_stream_t stream)
Function: void dico_stream_set_open ( dico_stream_t stream, int (*openfn) (void *, int))
Function: void dico_stream_set_seek ( dico_stream_t stream, int (*fun_seek) (void *, off_t, int, off_t *))
Function: void dico_stream_set_size ( dico_stream_t stream, int (*sizefn) (void *, off_t *))
Function: void dico_stream_set_read ( dico_stream_t stream, int (*readfn) (void *, char *, size_t, size_t *))
Function: void dico_stream_set_write ( dico_stream_t stream, int (*writefn) (void *, const char *, size_t, size_t *))
Function: void dico_stream_set_flush ( dico_stream_t stream, int (*flushfn) (void *))
Function: void dico_stream_set_close ( dico_stream_t stream, int (*closefn) (void *))
Function: void dico_stream_set_destroy ( dico_stream_t stream, int (*destroyfn) (void *))
Function: void dico_stream_set_ioctl ( dico_stream_t stream, int (*ctl) (void *, int, void *))
Function: void dico_stream_set_error_string ( dico_stream_t stream, const char *(*error_string) (void *, int))
Function: int dico_stream_set_buffer ( dico_stream_t stream, enum dico_buffer_type type, size_t size)
Enumeration: dico_buffer_type
dico_buffer_none
dico_buffer_line
dico_buffer_full
Function: off_t dico_stream_seek ( dico_stream_t stream, off_t offset, int whence)
DICO_SEEK_SET
DICO_SEEK_CUR
DICO_SEEK_END
Function: int dico_stream_size (dico_stream_t stream, off_t *psize)
Function: int dico_stream_read_unbuffered ( dico_stream_t stream, void *buf, size_t size, size_t *pread)
Function: int dico_stream_write_unbuffered ( dico_stream_t stream, const void *buf, size_t size, size_t *pwrite)
Function: int dico_stream_read ( dico_stream_t stream, void *buf, size_t size, size_t *pread)
Function: int dico_stream_readln ( dico_stream_t stream, char *buf, size_t size, size_t *pread)
Function: int dico_stream_getdelim ( dico_stream_t stream, char **pbuf, size_t *psize, int delim, size_t *pread)
Function: int dico_stream_getline ( dico_stream_t stream, char **pbuf, size_t *psize, size_t *pread)
Function: int dico_stream_write ( dico_stream_t stream, const void *buf, size_t size)
Function: int dico_stream_writeln ( dico_stream_t stream, const char *buf, size_t size)
Function: int dico_stream_ioctl ( dico_stream_t stream, int code, void *ptr)
Function: const char * dico_stream_strerror ( dico_stream_t stream, int rc)
Function: int dico_stream_last_error (dico_stream_t stream)
Function: void dico_stream_clearerr (dico_stream_t stream)
Function: int dico_stream_eof (dico_stream_t stream)
Function: int dico_stream_flush (dico_stream_t stream)
Function: int dico_stream_close (dico_stream_t stream)
Function: void dico_stream_destroy (dico_stream_t *stream)
Function: off_t dico_stream_bytes_in (dico_stream_t stream)
Function: off_t dico_stream_bytes_out (dico_stream_t stream)

GNU Dico Manual (split by section):   Section:   Chapter:FastBack: Libdico   Up: Libdico   FastForward: Copying This Manual   Contents: Table of ContentsIndex: Concept Index