summaryrefslogtreecommitdiff
path: root/lib/libc/net/getprotoname.c
Commit message (Collapse)AuthorAgeFilesLines
* When no protocol entry is found, getproto*_r(3) shouldHajimu UMEMOTO2010-10-051-1/+1
| | | | | | | | | | return zero. Spotted by: Kostik Belousov <kostikbel__at__gmail.com> MFC after: 2 weeks Notes: svn path=/head/; revision=213453
* - When there is no room for returning the result, nss backendHajimu UMEMOTO2010-08-131-8/+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 Notes: svn path=/head/; revision=211276
* Per Regents of the University of Calfornia letter, remove advertisingWarner Losh2007-01-091-4/+0
| | | | | | | | | clause. # If I've done so improperly on a file, please let me know. Notes: svn path=/head/; revision=165903
* - Extend the nsswitch to support Services, Protocols and RpcHajimu UMEMOTO2006-04-281-11/+77
| | | | | | | | | | | databases. - Make nsswitch support caching. Submitted by: Michael Bushkov <bushman__at__rsu.ru> Sponsored by: Google Summer of Code 2005 Notes: svn path=/head/; revision=158115
* - make reentrant version of netdb functions glibc style API, andHajimu UMEMOTO2006-04-151-10/+22
| | | | | | | | | | expose them to outside of libc. - make netdb functions NSS friendly. Reviewed by: arch@ and current@ (no objection) Notes: svn path=/head/; revision=157779
* - add getproto{byname,bynumber,ent}_r for internal use within libc.Hajimu UMEMOTO2005-04-191-13/+24
| | | | | | | - make getproto{byname,bynumber,ent} thread-safe. Notes: svn path=/head/; revision=145279
* Remove 'register' keyword.David E. O'Brien2002-03-211-3/+5
| | | | Notes: svn path=/head/; revision=92889
* General -Wall warning cleanup, part I.Jordan K. Hubbard1996-07-121-1/+1
| | | | | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu> Notes: svn path=/head/; revision=17141
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+62
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573