diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2020-12-11 15:50:59 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2020-12-11 15:50:59 +0100 |
| commit | 40c387aca214f701cd316c63b290ba7f35abbe3a (patch) | |
| tree | 9b9434695b2016b0f6b57c0f3ced260ff1f22a37 /buffer.h | |
| parent | 8c5205ad56f0bd76d3f9cd4a85eba9e01d071228 (diff) | |
| parent | 8000440b2de276f6ee65f3f369b8622478a0afb2 (diff) | |
| download | vis-40c387aca214f701cd316c63b290ba7f35abbe3a.tar.gz vis-40c387aca214f701cd316c63b290ba7f35abbe3a.tar.xz | |
Merge branch 'fix-typos' of https://github.com/moesasji/vis
Diffstat (limited to 'buffer.h')
| -rw-r--r-- | buffer.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -44,11 +44,11 @@ bool buffer_insert(Buffer*, size_t pos, const void *data, size_t len); bool buffer_insert0(Buffer*, size_t pos, const char *data); /** Append further content to the end. */ bool buffer_append(Buffer*, const void *data, size_t len); -/** Append NUl-terminated data. */ +/** Append NUL-terminated data. */ bool buffer_append0(Buffer*, const char *data); -/** Insert ``len`` bytes of ``data`` at the begin. */ +/** Insert ``len`` bytes of ``data`` at the start. */ bool buffer_prepend(Buffer*, const void *data, size_t len); -/** Insert NUL-terminated data at the begin. */ +/** Insert NUL-terminated data at the start. */ bool buffer_prepend0(Buffer*, const char *data); /** Set formatted buffer content, ensures NUL termination on success. */ bool buffer_printf(Buffer*, const char *fmt, ...) __attribute__((format(printf, 2, 3))); |
