summaryrefslogtreecommitdiff
path: root/lib/libc/net/getprotoname.c
Commit message (Collapse)AuthorAgeFilesLines
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-1/+3
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326025
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* 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