diff options
| author | Moesasji <miyamoto.31b@gmail.com> | 2020-12-10 18:25:37 +0000 |
|---|---|---|
| committer | Moesasji <miyamoto.31b@gmail.com> | 2020-12-10 18:25:37 +0000 |
| commit | 8000440b2de276f6ee65f3f369b8622478a0afb2 (patch) | |
| tree | aee1ce6714e9188038b2cd9bf0cf9ec2457e8f20 /buffer.h | |
| parent | 247b799b7cd272f20b2c6f9b4e60bf8b57775985 (diff) | |
| download | vis-8000440b2de276f6ee65f3f369b8622478a0afb2.tar.gz vis-8000440b2de276f6ee65f3f369b8622478a0afb2.tar.xz | |
fix typos in comments
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))); |
