summaryrefslogtreecommitdiff
path: root/lib/libc/net/getservent.c
AgeCommit message (Expand)Author
2025-12-10get*ent: be consistant about _ALIGN(p) - pBrooks Davis
2024-01-29libc: Annotate a couple of local functions as suchMark Johnston
2023-11-26lib: Remove ancient SCCS tags.Warner Losh
2023-11-01libc: Purge unneeded cdefs.hWarner Losh
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2021-11-29libc/net/getservent.c: Mark write-only variables as unusedKonstantin Belousov
2020-04-15Fix -Wvoid-pointer-to-enum-cast warnings.Brooks Davis
2019-08-12Increase YPMAXRECORD to 16M to be compatible with Linux.Konstantin Belousov
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-02-28Renumber copyright clause 4Warner Losh
2016-04-18libc: do not include <sys/types.h> where <sys/param.h> was already includedAndriy Voskoboinyk
2016-04-11libc: cleanup unnecessary semicolons.Pedro F. Giffuni
2016-04-10libc: replace 0 with NULL for pointers.Pedro F. Giffuni
2015-09-20Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.Craig Rodrigues
2013-08-23libc: Make various internal file descriptors from fopen() close-on-exec.Jilles Tjoelker
2010-04-06Use the stored length value instead of calculating it by strlen().Hajimu UMEMOTO
2010-04-04Add capability to use a db version of services. It is enabled byHajimu UMEMOTO
2010-04-04Reduce duplicate code.Hajimu UMEMOTO
2010-04-04Treat '+' as special only when in compat mode, and simplifyHajimu UMEMOTO
2010-04-04Stop adding trailing '\n'. The servent_unpack() doesn't expectHajimu UMEMOTO
2007-01-09Per Regents of the University of Calfornia letter, remove advertisingWarner Losh
2006-04-28- Extend the nsswitch to support Services, Protocols and RpcHajimu UMEMOTO
2006-04-15- make reentrant version of netdb functions glibc style API, andHajimu UMEMOTO
2005-08-20Include <sys/types.h> and <limits.h> ourselves, don't assume they are includedStefan Farfeleder
2005-04-28make getnetby*() thread-safe.Hajimu UMEMOTO
2005-04-18rename the NIS related fields to have yp_ prefix.Hajimu UMEMOTO
2005-04-18Do not check whether a pointer is NULL, since free(3) already takes care ofXin LI
2005-04-17Fix build for !YP case.Xin LI
2005-04-17libc-internal interfaces should have two underscores in frontHajimu UMEMOTO
2005-04-15- add getserv{byname,byport,ent}_r for internal use within libc.Hajimu UMEMOTO
2005-01-03Don't ignore the last line of config file (/etc/hosts, /etc/services, etc)Maxim Sobolev
2003-02-27Eliminate 19 warnings in libc (at level WARNS=2) of theJacques Vidrine
2002-03-21Remove __P() usage.David E. O'Brien
2002-03-21Remove 'register' keyword.David E. O'Brien
2002-03-15Remove trailing characters from #endif.David E. O'Brien
2002-02-18o Move NTOHL() and associated macros into <sys/param.h>. These areMike Barcroft
1996-12-27Small yet significant tweaks/cleanups:Bill Paul
1996-12-05Eliminate 3 more examples of gratutiously passing arrays by address.Jordan K. Hubbard
1996-07-12General -Wall warning cleanup, part I.Jordan K. Hubbard
1996-06-01Improve NIS performace of getservbyname() and getservbyport(). Both theseBill Paul
1996-01-29Getpwent() and getservent() can wind up calling free() withMike Pritchard
1995-11-04Add NIS support to getservent(3) functions (getservbyport() and getservbyname()Bill Paul
1994-05-27BSD 4.4 Lite Lib SourcesRodney W. Grimes