summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/getprotoent.c
Commit message (Collapse)AuthorAgeFilesLines
* libc: Make various internal file descriptors from fopen() close-on-exec.jilles2013-08-231-2/+2
|
* When no protocol entry is found, getproto*_r(3) shouldume2010-10-051-1/+1
| | | | | | | return zero. Spotted by: Kostik Belousov <kostikbel__at__gmail.com> MFC after: 2 weeks
* - When there is no room for returning the result, nss backendume2010-08-131-7/+10
| | | | | | | | | | have to return ERANGE and terminate with NS_RETURN. - When gethostbyname_r(3) and the friends end with an error, set errno to the value nss backend returns, and return errno value. PR: kern/131623 MFC after: 2 weeks
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-091-4/+0
| | | | | | clause. # If I've done so improperly on a file, please let me know.
* - Extend the nsswitch to support Services, Protocols and Rpcume2006-04-281-15/+324
| | | | | | | | databases. - Make nsswitch support caching. Submitted by: Michael Bushkov <bushman__at__rsu.ru> Sponsored by: Google Summer of Code 2005
* - make reentrant version of netdb functions glibc style API, andume2006-04-151-40/+82
| | | | | | | expose them to outside of libc. - make netdb functions NSS friendly. Reviewed by: arch@ and current@ (no objection)
* Include <sys/types.h> and <limits.h> ourselves, don't assume they are includedstefanf2005-08-201-0/+1
| | | | | | | | | | through <pthread.h>. gen/sem.c: Prerequisite for <_semaphore.h> net/getprotoent.c: USHRT_MAX net/getservent.c: USHRT_MAX stdio/ungetwc.c: MB_LEN_MAX stdio/vfwscanf.c: MB_LEN_MAX
* make getnetby*() thread-safe.ume2005-04-281-2/+2
|
* - add getproto{byname,bynumber,ent}_r for internal use within libc.ume2005-04-191-29/+112
| | | | - make getproto{byname,bynumber,ent} thread-safe.
* Don't ignore the last line of config file (/etc/hosts, /etc/services, etc)sobomax2005-01-031-3/+2
| | | | | | | | which doesn't end in \n, since it may be very confusing. Also this should increase consistency, since most other config files work just fine regardless of the presence of traling \n in the last line. MFC After: 2 weeks
* Remove 'register' keyword.obrien2002-03-211-1/+3
|
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+119
OpenPOWER on IntegriCloud