From 50eb3052899128ce5c18ad7fc8797c43e3c47c0a Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 27 Oct 2010 20:57:06 +0100 Subject: Further reword the dynstr_memcpy description. --- dynstr.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dynstr.h b/dynstr.h index 5ae1bc9..302902d 100644 --- a/dynstr.h +++ b/dynstr.h @@ -130,10 +130,10 @@ Dynstr *dynstr_cat_many(Dynstr *dynstr, ...); int dynstr_byte_at(Dynstr *dynstr, size_t offset); /* Copy contents of a dynamic string into a memory area. If the offset or - * size extends past the end of the string, the copy is silently truncated - * to include only as much as actually exists in the string. The rest of the - * output memory area will be filled with garbage. Return number of bytes - * actually copied, which may be less than requested, and may be zero. */ + * size extends past the end of the string, only as much as actually exists + * in the string is actually copied. The rest of the output memory area will + * be filled with garbage. Return number of bytes actually copied, which may + * be less than requested, and may be zero. */ size_t dynstr_memcpy(void *mem, Dynstr *dynstr, size_t offset, size_t size); /* Create a dynamically allocated C string copy of the dynamic string. -- cgit v1.2.1