summaryrefslogtreecommitdiff
path: root/lib/libc/net/getservent.c
AgeCommit message (Collapse)Author
1999-09-03Use strtol() and strtoul() instead of atoi(). This allows us to catchTodd C. Miller
errors reasonably and deal correctly with unsigned quantities.
1998-03-16Use fgetln(3) instead of fgets(3) so we can easily recognize linesTodd C. Miller
that are too long and ignore them instead of corrupting later entries.
1997-04-05Use in_addr_t not u_long and use in_port_t in some cases insteadTodd C. Miller
of u_short or u_int16_t.
1996-08-19Fix RCS idsThorsten Lockert
Make sure everything uses {SYS,}LIBC_SCCS properly
1995-10-18initial import of NetBSD treeTheo de Raadt