From 8000440b2de276f6ee65f3f369b8622478a0afb2 Mon Sep 17 00:00:00 2001 From: Moesasji Date: Thu, 10 Dec 2020 18:25:37 +0000 Subject: fix typos in comments --- buffer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'buffer.h') diff --git a/buffer.h b/buffer.h index 52f1cb4..a9aba12 100644 --- a/buffer.h +++ b/buffer.h @@ -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))); -- cgit v1.2.3