summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Decapitalize function name by prepending with word "The".hoek1999-02-261-3/+6
| | | | PR: docs/10247
* Fixed tab lossage in previous commit.bde1999-02-251-2/+2
|
* remove ctype.c - unused and confusingache1999-02-232-74/+2
|
* Add a note about ELF executables requiring to be linked with -export-dynamicjkoshy1999-02-171-0/+8
| | | | for dlsym() searches inside the executable to work.
* EOPNOTSUPP also applies to fchflags().bde1999-02-151-0/+3
|
* Mention that chflags can fail with EOPNOTSUPP.des1999-02-141-0/+2
|
* remove BUGS section, now behaviour is predictable enoughache1999-02-131-2/+0
|
* more words about return valueache1999-02-131-1/+5
|
* re-phrase things a bitache1999-02-121-4/+5
|
* fix wrong return resultache1999-02-122-23/+43
| | | | | fix n=0 case improve manpage
* fix tabs lost apparently in copy&pasteache1999-02-121-5/+5
|
* Removed occurrences of consecutive repeated words (such as "the the").alex1999-02-123-4/+3
|
* Added functions fseeko() and ftello() (from susv2).dt1999-02-086-15/+83
| | | | | | | Fixed fgetpos() and fsetpos() for offsets > 2GB. PR: 8637 Submitted by: Dan Nelson <dnelson@emsphone.com> (adjusted by me a little)
* Document type for 'req' argument to clnt_control.alex1999-01-311-0/+1
|
* Typo: `kern.somaxconn' -> `kern.ipc.somaxconn'jkoshy1999-01-271-4/+4
| | | | | PR: docs/9717 Submitted by: Nathan Dorfman <nathan@rtfm.net>
* Clarify format of exit status code. Note when a return code of -1 canjkoshy1999-01-271-4/+8
| | | | | | | be expected. PR: docs/9701 Submitted by: Marc van Kempen <marc@bowtie.nl>
* Mostly remove the VM_STACK OPTION.julian1999-01-261-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the definitions of a few items so that structures are the same whether or not the option itself is enabled. This allows people to enable and disable the option without recompilng the world. As the author says: |I ran into a problem pulling out the VM_STACK option. I was aware of this |when I first did the work, but then forgot about it. The VM_STACK stuff |has some code changes in the i386 branch. There need to be corresponding |changes in the alpha branch before it can come out completely. what is done: | |1) Pull the VM_STACK option out of the header files it appears in. This |really shouldn't affect anything that executes with or without the rest |of the VM_STACK patches. The vm_map_entry will then always have one |extra element (avail_ssize). It just won't be used if the VM_STACK |option is not turned on. | |I've also pulled the option out of vm_map.c. This shouldn't harm anything, |since the routines that are enabled as a result are not called unless |the VM_STACK option is enabled elsewhere. | |2) Add what appears to be appropriate code the the alpha branch, still |protected behind the VM_STACK switch. I don't have an alpha machine, |so we would need to get some testers with alpha machines to try it out. | |Once there is some testing, we can consider making the change permanent |for both i386 and alpha. | [..] | |Once the alpha code is adequately tested, we can pull VM_STACK out |everywhere. | Submitted by: "Richard Seaman, Jr." <dick@tar.com>
* Enable Linux threads support by default.julian1999-01-261-0/+6
| | | | | | | | | This takes the conditionals out of the code that has been tested by various people for a while. ps and friends (libkvm) will need a recompile as some proc structure changes are made. Submitted by: "Richard Seaman, Jr." <dick@tar.com>
* gethostbyname2() was broken for lookups via NIS on FreeBSD/alphagallatin1999-01-251-4/+7
| | | | | due to _gethostbynis() setting h.h_length to sizeof(u_long), which works out to 8 on alphas. And 8!= NS_INADDRSZ.
* Backed out most of previous commit to go with backing out support forbde1999-01-241-4/+6
| | | | revoke() on non-device files.
* Merge from vendor branch: timezone file structure changes and doco.wollman1999-01-213-25/+45
| | | | | | Fix localtime.c to deal with new magic number field. Obtained from: ftp://elsie.nci.nih.gov/pub/tzcode1999a.tar.gz
* Install man page link for strtok_r.jdp1999-01-191-1/+2
|
* Spell check and minor grammar fix.jdp1999-01-191-3/+3
|
* Document the errno return if the restrictions on the fcntl(F_SETOWN, ...)truckman1999-01-191-0/+7
| | | | | argument implemented by the security patch in PR kern/7899 are violated. PR: kern/7899
* revoke(2) is supported on regular files under current. Change wordingjkoshy1999-01-181-6/+5
| | | | | | | in manual page that indicated otherwise. PR: docs/9517 Submitted by: David Malone <dwmalone@maths.tcd.ie>
* Use the correct type for uid and gid in struct passwd. Document it.des1999-01-181-2/+2
|
* Make the implementation and documentation agree. Specifically:des1999-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.
* Make ctime_r, asctime_r, gmtime_r, and localtime_r available in libc.dt1999-01-042-13/+4
|
* Add STANDARDS section.wollman1999-01-031-6/+37
| | | | | s/bytes/characters/g to be consistent with Standard C terminology. Update date and add RCS Id.
* Fix grammar in the description of timegm() by totally rewriting it. Removewollman1999-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.
* Ignore the fs_spec entry for "/" in /etc/fstab if the device whichbde1999-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.
* Updated type of ss_size in struct sigaltstack.bde1999-01-011-3/+2
| | | | Removed bogus prerequisite <sys/types.h>.
* [This is a null commit to supply the correct log entry]dfr1998-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.
* Implement fpsetmask() and other fp*() functions. Programs should usedfr1998-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>
* Added documenation for the existing implementation of asctime_r,wes1998-12-201-0/+35
| | | | ctime_r, gmtime_r, and localtime_r.
* Reviewed by: Luoqi Chen, Jordan Hubbardjulian1998-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.
* Note that dying on NULL is an implementation detail.eivind1998-12-171-5/+7
|
* Restore old semantics (broken in rev 1.47's buffer overflow fix).eivind1998-12-171-1/+3
|
* Adjust for kern.ps_strings and PS_STRINGS not being a pointer. This isbde1998-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.
* Add reminder to return memory allocated by this call.imp1998-12-161-1/+10
| | | | Obtained from: OpenBSD
* Reviewed by: JKHwes1998-12-142-87/+217
| | | | | | Submitted by: Wes Peters Added strtok_r (reentrant) function and man page.
* Commit out caveat about hardlinks to directories since they aresteve1998-12-131-27/+27
| | | | | | no longer possible. PR: 8337
* PR: docs/9050dillon1998-12-131-0/+1
| | | | | Add reference to required include file #include <stdlib.h> for getloadavg(3) function call.
* CALL -> PCALL for sigaltstack for libc_r.jb1998-12-101-1/+1
|
* Removed unused include of <kvm.h>. It was alarming for libc to apparentlybde1998-12-071-3/+1
| | | | | | depend on libkvm. Removed obsolete `#define _NEW_VFSCONF'.
* - Fix modulo bug that was masked by the correct code in libgcc.a which isnate1998-11-301-1/+1
| | | | | used in almost all programs unless a shared library specifically ignores libgcc.a.
* Enable aio_read(2).jkoshy1998-11-241-2/+2
|
* Don't mention exit(3) in explanation; _exit(2) is a better choice.jkoshy1998-11-231-2/+2
|
* Man page for aio_read(2).jkoshy1998-11-191-0/+189
| | | | Submitted by: Terry Lambert <terry@whistle.com> on the -doc lists.
* Update to reflect reality.nectar1998-11-161-4/+4
| | | | PR: kern/8629
OpenPOWER on IntegriCloud