diff options
Diffstat (limited to 'dynstr.h')
-rw-r--r-- | dynstr.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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. |