|
maug
Quick and dirty C mini-augmentation library.
|

Functions | |
| off_t | mfile_mem_cursor (struct MFILE_CADDY *p_file) |
| off_t | mfile_mem_has_bytes (struct MFILE_CADDY *p_file) |
| MERROR_RETVAL | mfile_mem_read_byte (struct MFILE_CADDY *p_file, uint8_t *buf) |
| MERROR_RETVAL | mfile_mem_read_block (struct MFILE_CADDY *p_file, uint8_t *buf, size_t buf_sz) |
| MERROR_RETVAL | mfile_mem_seek (struct MFILE_CADDY *p_file, off_t pos) |
| MERROR_RETVAL | mfile_mem_read_line (struct MFILE_CADDY *p_f, char *buffer, off_t buffer_sz, uint8_t flags) |
| MERROR_RETVAL | mfile_mem_vprintf (mfile_t *p_file, uint8_t flags, const char *fmt, va_list args) |
| MERROR_RETVAL | mfile_mem_write_block (struct MFILE_CADDY *p_f, const uint8_t *buf, size_t buf_sz) |
| Insert provided buffer into the given file. | |
|
Insert provided buffer into the given file.
Note that this method inserts the given buffer into the file, shifting the rest of the contents forward.