summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* XOpen says the void setpwent(void) is correct. Also call setpassent(0)Steve Price1998-02-011-7/+2
| | | | | | | | | instead of duplicating code, albeit trivial (inspired by NetBSD). PR: 5524 Notes: svn path=/head/; revision=32962
* Kill lfs files that were causing make world to fail.Warner Losh1998-01-311-3/+2
| | | | Notes: svn path=/head/; revision=32927
* PR: 5573Daniel O'Callaghan1998-01-272-2/+4
| | | | | | | | Submitted by: garbanzo@hooked.net Add strncasecmp, strncmp to NAME field. Notes: svn path=/head/; revision=32818
* Fix a cast from a pointer to a long instead of an int which was enoughJohn Birrell1998-01-241-2/+2
| | | | | | | to ruin a 64-bit day. Notes: svn path=/head/; revision=32743
* Don't swap carriage return and new line in quoted mode (after ^V).Wolfgang Helbig1998-01-221-2/+2
| | | | Notes: svn path=/head/; revision=32697
* Eliminate sprintfWarner Losh1998-01-211-1/+2
| | | | | | | Obtained from:OpenBSD (theo de raadt) Notes: svn path=/head/; revision=32687
* Fixed #includes in the synopsis and in an example. <sys/socket.h>Bruce Evans1998-01-202-3/+3
| | | | | | | | | isn't a prerequisite, since it isn't required for the prototypes and isn't always needed to call the functions (the address family might be a variable). Notes: svn path=/head/; revision=32647
* Moved most of the (source-level) compatibility hacks for the vfsconfBruce Evans1998-01-201-2/+4
| | | | | | | | interface from sys/mount.h to libc/getvfsent.c The new interface is now the default. Notes: svn path=/head/; revision=32643
* Added cross references to mincore(2) and minherit(2).Alexander Langer1998-01-201-0/+3
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=32638
* Added #include <sys/types.h> to synopsis.Alexander Langer1998-01-202-1/+4
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=32637
* Started getting rid of the compatibility cruft for the Lite1 mount()Bruce Evans1998-01-171-0/+2
| | | | | | | | | | | and the pre-Lite2 vfsconf interfaces. For getvfsent.c, just define _OLD_VFSCONF. This will give the current default macro hacks in <sys/mount.h> when the default is reversed. This is an intermediate step. Notes: svn path=/head/; revision=32594
* Don't install the tcl implementation headers. The tcl distributionBruce Evans1998-01-171-9/+1
| | | | | | | | | | | makefile doesn't install them, and they couldn't be used without lots of undocumented -I's in CFLAGS. tcl.h is still installed in /usr/include/tcl/. Note that rev.1.24 of tcl_bmake/mkMakefile.sh broke all the section 3 tcl man pages by putting it there instead of in /usr/include. Notes: svn path=/head/; revision=32591
* Updated shlib version to 80.4 in the correct place.Bruce Evans1998-01-171-2/+2
| | | | | | | | Regenerated libtcl/Makefile. This adds -DHAVE_ST_BLKSIZE=1 to CFLAGS. It was broken by direct editing in rev.1.25. Notes: svn path=/head/; revision=32590
* Fixed bitrot in the prototype for logwtmp().Bruce Evans1998-01-161-2/+2
| | | | Notes: svn path=/head/; revision=32569
* Fixed bugs in the conversion of kvm to to use procfs in rev.1.3. AllBruce Evans1998-01-161-9/+14
| | | | | | | | | | | | | | | are in kvm_uread(): - the setting of errno before checking it in the lseek() was lost. - EOF handling was lost. kvm_uread() retried forever on EOF. EOF is not really an error, but report it one as in rev.1.2. - reporting of errno after a read error was lost. Fixed style bugs in rev.1.3 and rev.1.12. Not fixed: errno is not reported after lseek() failures. Notes: svn path=/head/; revision=32568
* Fixed wrong prototype for history().Bruce Evans1998-01-161-3/+3
| | | | | | | Don't (mis)use .Fd outside of the synopsis. Notes: svn path=/head/; revision=32566
* Fixed missing #include in synopsis.Bruce Evans1998-01-161-0/+2
| | | | Notes: svn path=/head/; revision=32565
* Fixed wrong prototype for clock_getres().Bruce Evans1998-01-161-2/+2
| | | | Notes: svn path=/head/; revision=32564
* Fixed wrong prototypes. Most of the prototypes had missing return types,Bruce Evans1998-01-161-9/+19
| | | | | | | or missing const's or `short *' instead of `[ug]id_t *' in argument types. Notes: svn path=/head/; revision=32563
* Fixed missing return type in a prototype.Bruce Evans1998-01-161-0/+1
| | | | Notes: svn path=/head/; revision=32562
* Fixed a missing #include in the synopsis.Bruce Evans1998-01-161-4/+5
| | | | | | | | | | Fixed some wrong prototypes. Fixed a misspelled function name. The owner of this file should add a copyright and an Id. Notes: svn path=/head/; revision=32561
* Added prototypes for functions that were documented in libalias.3Bruce Evans1998-01-161-0/+8
| | | | | | | but not prototyped here. Notes: svn path=/head/; revision=32560
* Non-intrusive changes to support Justin's CAM stuff.Jordan K. Hubbard1998-01-162-3/+5
| | | | Notes: svn path=/head/; revision=32558
* PR: 5489Daniel O'Callaghan1998-01-151-5/+5
| | | | | | | | Submitted by: Steve G. Kargl <kargl@troutmask.apl.washington.edu> Repair corrupted text. Notes: svn path=/head/; revision=32534
* Return the correct errno from getcwd() even if free() or closedir()Stephen McKay1998-01-151-0/+4
| | | | | | | | | overwrites it. This actually showed up when running under an old kernel when free() called the madvise() stub which set errno, causing getcwd() to return EOPNOTSUPP instead of ERANGE. Notes: svn path=/head/; revision=32530
* Add #ifndef __NETBSD_SYSCALLS around calls to issetugid() whichJohn Birrell1998-01-153-6/+18
| | | | | | | do not exist in NetBSD 1.3. Notes: svn path=/head/; revision=32524
* Typo fix.Alexander Langer1998-01-151-2/+12
| | | | | | | | | | Added EOPNOTSUPP and EMLINK to errors section. Added symlink(2) xref. Obtained from: OpenBSD Notes: svn path=/head/; revision=32514
* Include string.h for memcpy function prototype.John Birrell1998-01-141-0/+1
| | | | Notes: svn path=/head/; revision=32507
* Remove __libalias_version. Ppp no longer uses it.Brian Somers1998-01-141-3/+0
| | | | Notes: svn path=/head/; revision=32498
* Consistently reference init as .Xr init 8.Alexander Langer1998-01-131-2/+2
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=32494
* Return type and argument to sleep are unsigned int.Alexander Langer1998-01-131-2/+3
| | | | Notes: svn path=/head/; revision=32493
* When printf'ing the result of pointer arithmetic, cast the result toJohn Birrell1998-01-131-9/+9
| | | | | | | | | | long and use %ld, not %d. We're going to need an abbreviation for this comment 'cause it's going to be used a lot from now on. Notes: svn path=/head/; revision=32492
* Dump the constant NGROUPS in favor of the POSIX way:Alexander Langer1998-01-131-9/+6
| | | | | | | | | sysconf(_SC_NGROUPS_MAX). Submitted by: bde Notes: svn path=/head/; revision=32489
* Use .Fn for sysconf(_SC_CLOCK_TCK) reference.Alexander Langer1998-01-131-1/+3
| | | | | | | Added $Id$. Notes: svn path=/head/; revision=32488
* ${TARGET} -> ${.TARGET}Eivind Eklund1998-01-121-2/+2
| | | | | | | Tiny pointed hat goes to: Our Makefile-meister. Notes: svn path=/head/; revision=32484
* Formatting fix & improved comment for struct timeval.Alexander Langer1998-01-111-1/+3
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=32451
* Fixed brk(2) xref.Alexander Langer1998-01-111-1/+2
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=32450
* Added sys/types.h to synopsis as per POSIX.Alexander Langer1998-01-111-1/+2
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=32449
* Replace sys/param.h with sys/types.h as per POSIX.Alexander Langer1998-01-111-1/+9
| | | | | | | | | Document the special case of gidsetlen == 0. Partially obtained from: OpenBSD Notes: svn path=/head/; revision=32448
* Document that arg max is controllable via sysctl.Alexander Langer1998-01-111-5/+7
| | | | Notes: svn path=/head/; revision=32447
* Remove use of <osreldate.h>.Eivind Eklund1998-01-111-6/+0
| | | | | | | Screwed up by: myself Notes: svn path=/head/; revision=32443
* Formatting fix.Alexander Langer1998-01-111-1/+2
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=32438
* Added EMFILE and ENFILE to errors section.Alexander Langer1998-01-111-0/+5
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=32437
* .Xr sigvec --> sigactionAlexander Langer1998-01-111-2/+2
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=32436
* Add <sys/types.h> to synopsis.Alexander Langer1998-01-111-1/+4
| | | | | | | | | | Correct a grammatical error. Add cross-reference to setrlimit(2). Obtained from: OpenBSD Notes: svn path=/head/; revision=32435
* CSU source for Alpha obtained from NetBSD. The makefile will requireJohn Birrell1998-01-114-0/+419
| | | | | | | more work when we get a half-way usable libc (which is next). Notes: svn path=/head/; revision=32417
* We can now build libm on Alpha. There is very little MD alpha code.John Birrell1998-01-101-3/+0
| | | | Notes: svn path=/head/; revision=32408
* This is the only alpha math source that NetBSD has.John Birrell1998-01-102-0/+90
| | | | Notes: svn path=/head/; revision=32405
* Put back __libalias_version so ppp(8) build again.Steve Price1998-01-101-0/+3
| | | | Notes: svn path=/head/; revision=32398
* Sync with ipfw interface change: fw_pts is now part of a union (aAlexander Langer1998-01-101-5/+5
| | | | | | | necessary evil due to the 108 byte setsockopt() limit). Notes: svn path=/head/; revision=32396