Go to the source code of this file.
Functions | |
struct util_stream * | util_stream_create (const char *filename, size_t max_size) |
Create a stream. | |
boolean | util_stream_write (struct util_stream *stream, const void *data, size_t size) |
void | util_stream_flush (struct util_stream *stream) |
void | util_stream_close (struct util_stream *stream) |
Definition in file u_stream.h.
void util_stream_close | ( | struct util_stream * | stream | ) |
struct util_stream* util_stream_create | ( | const char * | filename, | |
size_t | max_size | |||
) | [read] |
Create a stream.
filename | relative or absolute path (necessary for windows) | |
optional | maximum file size (0 for a growable size). |
void util_stream_flush | ( | struct util_stream * | stream | ) |
boolean util_stream_write | ( | struct util_stream * | stream, | |
const void * | data, | |||
size_t | size | |||
) |