summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/3.0.0_cvscvs2svn1999-01-21389-448/+452
| | | | | | | 'RELENG_3_0_0_RELEASE'. This commit was manufactured to restore the state of the 3.0-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
* This commit was manufactured by cvs2svn to create tagrelease/3.0.0cvs2svn1999-01-2151-995/+334
| | | | | | | | 'RELENG_3_0_0_RELEASE'. Notes: svn path=/stable/3/; revision=42951 svn path=/release/3.0.0/; revision=42952; tag=release/3.0.0
* This commit was manufactured by cvs2svn to create branch 'RELENG_3'.cvs2svn1999-01-2139-4333/+0
| | | | Notes: svn path=/stable/3/; revision=42951
* Install man page link for strtok_r.John Polstra1999-01-191-1/+2
| | | | Notes: svn path=/head/; revision=42870
* Spell check and minor grammar fix.John Polstra1999-01-191-3/+3
| | | | Notes: svn path=/head/; revision=42869
* Document the errno return if the restrictions on the fcntl(F_SETOWN, ...)Don Lewis1999-01-191-0/+7
| | | | | | | | argument implemented by the security patch in PR kern/7899 are violated. PR: kern/7899 Notes: svn path=/head/; revision=42829
* revoke(2) is supported on regular files under current. Change wordingJoseph Koshy1999-01-181-6/+5
| | | | | | | | | | in manual page that indicated otherwise. PR: docs/9517 Submitted by: David Malone <dwmalone@maths.tcd.ie> Notes: svn path=/head/; revision=42781
* Use the correct type for uid and gid in struct passwd. Document it.Dag-Erling Smørgrav1999-01-181-2/+2
| | | | Notes: svn path=/head/; revision=42780
* Make the implementation and documentation agree. Specifically:Dag-Erling Smørgrav1999-01-062-6/+11
| | | | | | | | | | - document that sysctl() and sysctlbyname() return 0 on success - if the provided buffer is too small, set errno to ENOMEM and return -1 instead of returning ENOMEM. Notes: svn path=/head/; revision=42353
* Make ctime_r, asctime_r, gmtime_r, and localtime_r available in libc.Dmitrij Tejblum1999-01-042-13/+4
| | | | Notes: svn path=/head/; revision=42293
* Add STANDARDS section.Garrett Wollman1999-01-031-6/+37
| | | | | | | | s/bytes/characters/g to be consistent with Standard C terminology. Update date and add RCS Id. Notes: svn path=/head/; revision=42259
* Fix grammar in the description of timegm() by totally rewriting it. RemoveGarrett Wollman1999-01-031-20/+29
| | | | | | | | a potentally inflammatory comment from BUGS, and add a more useful comment about the lack of reentrancy in the timezone-setting interface. Notes: svn path=/head/; revision=42257
* Ignore the fs_spec entry for "/" in /etc/fstab if the device whichBruce Evans1999-01-011-0/+29
| | | | | | | | | | | is actually mounted on "/" can be determined using statfs() and is in /dev. This fixes fsck operating on the wrong device when the fs_spec entry is only an alias. The aliased case became more dangerous when the ROOTSLICE_HUNT hack was committed in mount(8). ROOTSLICE_HUNT may be unnecessary now. Notes: svn path=/head/; revision=42232
* Updated type of ss_size in struct sigaltstack.Bruce Evans1999-01-011-3/+2
| | | | | | | Removed bogus prerequisite <sys/types.h>. Notes: svn path=/head/; revision=42229
* [This is a null commit to supply the correct log entry]Doug Rabson1998-12-232-2/+2
| | | | | | | | | Rename 'cerror' to '.cerror' so that programs which have a function or global variable named 'cerror' don't completely break the syscall error reporting mechanism. Notes: svn path=/head/; revision=42030
* Implement fpsetmask() and other fp*() functions. Programs should useDoug Rabson1998-12-239-32/+59
| | | | | | | | | | | | | #include <ieeefp.h> to access these functions instead of the i386 specific #include <machine/floatingpoint.h> Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp> Notes: svn path=/head/; revision=42029
* Added documenation for the existing implementation of asctime_r,Wes Peters1998-12-201-0/+35
| | | | | | | ctime_r, gmtime_r, and localtime_r. Notes: svn path=/head/; revision=41951
* Reviewed by: Luoqi Chen, Jordan HubbardJulian Elischer1998-12-191-3/+5
| | | | | | | | | | | | | | | Submitted by: "Richard Seaman, Jr." <lists@tar.com> Obtained from: linux :-) Code to allow Linux Threads to run under FreeBSD. By default not enabled This code is dependent on the conditional COMPAT_LINUX_THREADS (suggested by Garret) This is not yet a 'real' option but will be within some number of hours. Notes: svn path=/head/; revision=41931
* Note that dying on NULL is an implementation detail.Eivind Eklund1998-12-171-5/+7
| | | | Notes: svn path=/head/; revision=41902
* Restore old semantics (broken in rev 1.47's buffer overflow fix).Eivind Eklund1998-12-171-1/+3
| | | | Notes: svn path=/head/; revision=41898
* Adjust for kern.ps_strings and PS_STRINGS not being a pointer. This isBruce Evans1998-12-161-8/+7
| | | | | | | | | | | an unimprovement here. I thought it would be an improvement, as in libkvm, but here we can access the strings directly. Use sysctlbyname() instead of sysctl() and trust it to give a nonzero address if it succeeds. Notes: svn path=/head/; revision=41875
* Add reminder to return memory allocated by this call.Warner Losh1998-12-161-1/+10
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=41841
* Reviewed by: JKHWes Peters1998-12-142-87/+217
| | | | | | | | | Submitted by: Wes Peters Added strtok_r (reentrant) function and man page. Notes: svn path=/head/; revision=41762
* Commit out caveat about hardlinks to directories since they areSteve Price1998-12-131-27/+27
| | | | | | | | | no longer possible. PR: 8337 Notes: svn path=/head/; revision=41750
* PR: docs/9050Matthew Dillon1998-12-131-0/+1
| | | | | | | | Add reference to required include file #include <stdlib.h> for getloadavg(3) function call. Notes: svn path=/head/; revision=41714
* CALL -> PCALL for sigaltstack for libc_r.John Birrell1998-12-101-1/+1
| | | | Notes: svn path=/head/; revision=41661
* Removed unused include of <kvm.h>. It was alarming for libc to apparentlyBruce Evans1998-12-071-3/+1
| | | | | | | | | depend on libkvm. Removed obsolete `#define _NEW_VFSCONF'. Notes: svn path=/head/; revision=41581
* - Fix modulo bug that was masked by the correct code in libgcc.a which isNate Williams1998-11-301-1/+1
| | | | | | | | used in almost all programs unless a shared library specifically ignores libgcc.a. Notes: svn path=/head/; revision=41425
* Enable aio_read(2).Joseph Koshy1998-11-241-2/+2
| | | | Notes: svn path=/head/; revision=41315
* Don't mention exit(3) in explanation; _exit(2) is a better choice.Joseph Koshy1998-11-231-2/+2
| | | | Notes: svn path=/head/; revision=41300
* Man page for aio_read(2).Joseph Koshy1998-11-191-0/+189
| | | | | | | Submitted by: Terry Lambert <terry@whistle.com> on the -doc lists. Notes: svn path=/head/; revision=41249
* Update to reflect reality.Jacques Vidrine1998-11-161-4/+4
| | | | | | | PR: kern/8629 Notes: svn path=/head/; revision=41196
* Fix a .Nm -> .Fn fix that was missed in the previous commit.Joseph Koshy1998-11-091-1/+1
| | | | | | | Pointed-out-by: Bruce Evans Notes: svn path=/head/; revision=41025
* Added info about non-blocking support.David Greenman1998-11-061-1/+15
| | | | Notes: svn path=/head/; revision=40972
* Update manual page to reflect changes in rev 1.12 ofJoseph Koshy1998-11-061-3/+6
| | | | | | | | "src/lib/libc/gen/popen.c" --- popen() in the child now closes any copies of popen()'ed descriptors in the parent. Notes: svn path=/head/; revision=40952
* Added a manual page for sendfile(2).David Greenman1998-11-052-2/+139
| | | | Notes: svn path=/head/; revision=40933
* Include mergesort() in description of errors.Robert Nordier1998-11-041-1/+3
| | | | Notes: svn path=/head/; revision=40901
* Drop unused labels.Robert Nordier1998-11-041-2/+2
| | | | Notes: svn path=/head/; revision=40900
* Handle a zero elements argument.Robert Nordier1998-11-041-0/+3
| | | | | | | | PR: 8566 Submitted by: Archie Cobbs <archie@whistle.com> Notes: svn path=/head/; revision=40896
* A feeble attempt at kld compatability. The mount_* programs assume thatPeter Wemm1998-11-031-1/+10
| | | | | | | | | | | | | | they cannot mount a filesystem that they cannot see in getvfsbyname(). Part 1 of this is a hack, make vfsisloadable() always return true - the ultimate decider of whether it's loadable or not is kldload() or mount(). Part 2 of this is to have vfsload() call kldload(2) and return success if it works. This means that we will use a viable kld module in preference to an LKM! Ultimately, the thing to do is remove the hacks to do a vfsload in all the mount_* commands and let the kernel do it by itself in mount(2). Notes: svn path=/head/; revision=40863
* Typo.Jean-Marc Zucconi1998-10-301-1/+1
| | | | Notes: svn path=/head/; revision=40773
* Prevent buffer overflow in getpwnam()Mike Smith1998-10-291-2/+2
| | | | | | | | PR: bin/8176 Submitted by: Archie Cobbs <archie@whistle.com> Notes: svn path=/head/; revision=40742
* Clarify processing of the string argument by psignal().Robert Nordier1998-10-291-1/+3
| | | | Notes: svn path=/head/; revision=40738
* (Whoops: make it better instead of worse this time). ClarifyRobert Nordier1998-10-291-1/+1
| | | | | | | processing of the string argument by perror(). Notes: svn path=/head/; revision=40735
* Clarify processing of the string argument by perror().Robert Nordier1998-10-291-8/+5
| | | | Notes: svn path=/head/; revision=40734
* Check for a zero-length as well as a NULL string argument.Robert Nordier1998-10-291-1/+1
| | | | Notes: svn path=/head/; revision=40731
* The man page implies that the string argument to psignal() may beRobert Nordier1998-10-291-4/+2
| | | | | | | | NULL, in line with perror(3). However, the code presently checks only for a zero-length string. Check for both. Notes: svn path=/head/; revision=40727
* Handle ELF symbols better. This fixes "vmstat -i" for the caseJohn Polstra1998-10-281-59/+77
| | | | | | | where "/var/db/kvm_kernel.db" doesn't exist. Notes: svn path=/head/; revision=40688
* (`'): and (`'); -> (`:') and (`;')Bill Fenner1998-10-261-2/+2
| | | | Notes: svn path=/head/; revision=40667
* Slight style police.David E. O'Brien1998-10-251-3/+13
| | | | | | | Add some content from objformat(1). Notes: svn path=/head/; revision=40641