History log of /seL4-test-master/projects/musllibc/src/network/getservbyport_r.c
Revision Date Author Comments
# 8d7a3f40 23-Sep-2016 Daniel Sabogal <dsabogalcc@gmail.com>

fix getservby*_r result pointer value on error

this is a clone of the fix to the gethostby*_r functions in
commit fe82bb9b921be34370e6b71a1c6f062c20999ae0. the man pages
document that the getservby*_r functions set this pointer to
NULL if there was an error or if no record was found.


# 75fff40b 22-Jul-2012 Rich Felker <dalias@aerifal.cx>

make getservby*_r return error code rather than -1 (and using errno)

untested but should be correct..


# 06650b96 14-Jul-2012 Rich Felker <dalias@aerifal.cx>

fix getservby*() with null pointer for protocol argument

not sure this is the best fix but it should work


# 28af39fe 13-Sep-2011 Rich Felker <dalias@aerifal.cx>

remove some stray trailing space characters


# 0b44a031 11-Feb-2011 Rich Felker <dalias@aerifal.cx>

initial check-in, version 0.5.0