Function in stdx_io.h

x_io_append_text

Append null-terminated text to file.

X_IO_API bool x_io_append_text(
 const char *filename,
 const char *text
);
Function in stdx_io.h

x_io_read_text

Convenience: open, read, close. Returns null-terminated text.

X_IO_API char * x_io_read_text(
 const char *filename,
 size_t *out_size
);
Function in stdx_io.h

x_io_write_text

Write null-terminated text to a file (overwrite).

X_IO_API bool x_io_write_text(
 const char *filename,
 const char *text
);