summaryrefslogtreecommitdiff
path: root/lib/libc/net/getservent.c
AgeCommit message (Expand)Author
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2006-01-17Include limits.h directly instead of depending on another headerTodd C. Miller
2005-08-06zap rcsid.Marc Espie
2004-10-25Change return value of reentrant getproto* and getserv* to match theTodd C. Miller
2004-10-17Reentrant versions of getprotoent(3) and getservent(3). Adapted fromTodd C. Miller
2004-09-16ansiTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
1999-09-03Use strtol() and strtoul() instead of atoi(). This allows us to catchTodd C. Miller
1998-03-16Use fgetln(3) instead of fgets(3) so we can easily recognize linesTodd C. Miller
1997-04-05Use in_addr_t not u_long and use in_port_t in some cases insteadTodd C. Miller
1996-08-19Fix RCS idsThorsten Lockert
1995-10-18initial import of NetBSD treeTheo de Raadt