OpenGrok
Cross Reference: getservbyname.c
xref
: /
src
/
lib
/
libc
/
net
/
getservbyname.c
Home
|
History
|
Annotate
|
Download
|
only in
net
History log of
/src/lib/libc/net/getservbyname.c
Revision
Date
Author
Comments
1.15
20-Jan-2024
christos
Catch up with all the lint warnings since exit on warning was disabled.
Disable 'missing header declaration' and 'nested extern' warnings for now.
1.14
28-Apr-2008
martin
branches: 1.14.8;
Remove clause 3 and 4 from TNF licenses
1.13
18-Apr-2005
kleink
branches: 1.13.18;
Move the (at this time private) get{proto,serv}ent_r() prototypes and
data structures into the libc sources until the interface gets redone.
Approved by christos.
1.12
07-Jan-2005
mycroft
branches: 1.12.2;
Throw in mutex stubs to serialize access to the legacy global structures.
1.11
19-Feb-2004
christos
Implement the non-reentrant ones using the reentrant ones.
Name files by function name.
1.10
07-Aug-2003
agc
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
1.9
22-Jan-2000
mycroft
Delint.
Remove trailing ; from uses of __weak_alias(). The macro inserts this if
needed.
1.8
20-Sep-1999
lukem
back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
1.7
16-Sep-1999
lukem
* use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.
the first two items result in the addition of code similar to the
following in various functions:
_DIAGASSERT(path != NULL)
#ifdef _DIAGNOSTIC
if (path == NULL) {
errno = EFAULT;
return (-1);
}
#endif
1.6
21-Jul-1997
jtc
If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore. The library will use those
names internally. Weak aliases are used to provide the original names
to the API.
This is only the first part of this change. It is most of the functions
which are implemented in C for all NetBSD ports. Subsequent changes are
to add the same support to the remaining C files, to assembly files, and
to the automagically generated assembly source used for system calls.
When all of the above is done, ports with weak alias support should add
a definition for __weak_alias to <sys/cdefs.h>.
1.5
13-Jul-1997
christos
Fix RCSID's
Fix gcc warnings
Add missing prototypes
Use "namespace.h"
1.4
25-Feb-1995
cgd
branches: 1.4.4;
clean up import. also convert everything to new Id format.
1.3
26-Aug-1993
jtc
Declare rcsid strings so they are stored in text segment.
1.2
01-Aug-1993
mycroft
Add RCS identifiers.
1.1
21-Mar-1993
cgd
branches: 1.1.1;
Initial revision
1.1.1.2
25-Feb-1995
cgd
4.4-Lite lib/libc/net
1.1.1.1
21-Mar-1993
cgd
initial import of 386bsd-0.1 sources
1.4.4.1
20-Sep-1996
jtc
snapshot namespace cleanup: net, etc.
1.12.2.1
21-Apr-2005
tron
Pull up revision 1.13 (requested by kleink in ticket #172):
Move the (at this time private) get{proto,serv}ent_r() prototypes and
data structures into the libc sources until the interface gets redone.
Approved by christos.
1.13.18.1
18-May-2008
yamt
sync with head.
1.14.8.2
28-Apr-2008
martin
Remove clause 3 and 4 from TNF licenses
1.14.8.1
28-Apr-2008
martin
file getservbyname.c was added on branch christos-time_t on 2008-04-28 20:23:01 +0000
Indexes created Tue Sep 30 20:09:53 GMT 2025