about summary refs log tree commit diff
path: root/src/stat/mknod.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-06-01 00:45:04 -0400
committerRich Felker <dalias@aerifal.cx>2014-06-01 00:45:04 -0400
commitaf7c308ee66c4127700dd7843f885f7f2d030a0c (patch)
tree02e103e0e40c463b367edae7cc3ae63840c4afdc /src/stat/mknod.c
parente8f39ca4898237cf71657500f0b11534c47a0521 (diff)
downloadmusl-af7c308ee66c4127700dd7843f885f7f2d030a0c.tar.gz
musl-af7c308ee66c4127700dd7843f885f7f2d030a0c.tar.xz
musl-af7c308ee66c4127700dd7843f885f7f2d030a0c.zip
improve getservbyname_r using new resolver backend
now that host and service lookup have been separated in the backend,
there's no need for service lookup functions to pull in the host
lookup code. moreover, dynamic allocation is no longer needed, so this
function should now be async-signal-safe. it's also significantly
smaller.

one change in getservbyname is also made: knowing that getservbyname_r
needs only two character pointers in the caller-provided buffer, some
wasted bss can be avoided.
Diffstat (limited to 'src/stat/mknod.c')
0 files changed, 0 insertions, 0 deletions