diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-04-11 09:43:16 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-04-11 09:43:17 +0200 |
commit | 32d85c116dd07b25f58b24204e7b05489f06fed4 (patch) | |
tree | f4ab2240889915cc7d912f98e0b69df701cf40e0 /iconvdata/tst-iconv4.c | |
parent | 221710af7ead55942e24f225b18c81dbe07ab08f (diff) | |
download | glibc-32d85c116dd07b25f58b24204e7b05489f06fed4.tar.gz glibc-32d85c116dd07b25f58b24204e7b05489f06fed4.tar.xz glibc-32d85c116dd07b25f58b24204e7b05489f06fed4.zip |
alloc_buffer: Return unqualified pointer type in alloc_buffer_next
alloc_buffer_next is useful for peeking to the remaining part of the buffer and update it, with subsequent allocation (once the length is known) using alloc_buffer_alloc_bytes. This is not as robust as the other interfaces, but it allows using alloc_buffer with string-writing interfaces such as snprintf and ns_name_ntop.
Diffstat (limited to 'iconvdata/tst-iconv4.c')
0 files changed, 0 insertions, 0 deletions