about summary refs log tree commit diff
path: root/resolv/nss_dns/dns-network.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-04-11 09:43:16 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-04-11 09:43:17 +0200
commit32d85c116dd07b25f58b24204e7b05489f06fed4 (patch)
treef4ab2240889915cc7d912f98e0b69df701cf40e0 /resolv/nss_dns/dns-network.c
parent221710af7ead55942e24f225b18c81dbe07ab08f (diff)
downloadglibc-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 'resolv/nss_dns/dns-network.c')
0 files changed, 0 insertions, 0 deletions