summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/getservent.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use strtol() and strtoul() instead of atoi(). This allows us to catchmillert1999-09-031-3/+7
| | | | errors reasonably and deal correctly with unsigned quantities.
* Use fgetln(3) instead of fgets(3) so we can easily recognize linesmillert1998-03-161-8/+12
| | | | that are too long and ignore them instead of corrupting later entries.
* Use in_addr_t not u_long and use in_port_t in some cases insteadmillert1997-04-051-2/+2
| | | | of u_short or u_int16_t.
* Fix RCS idstholo1996-08-191-7/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* initial import of NetBSD treederaadt1995-10-181-0/+127