summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Base 36 is allowed.fenner2001-11-284-4/+4
|
* Put back base > 35 check. If someone dislike it, plese discuss it withache2001-11-284-4/+4
| | | | standards group first.
* Add atoll(3) to conform POSIX and C99ache2001-11-283-2/+69
|
* Understand national (non-ASCII) digits nowache2001-11-286-56/+42
| | | | | Allow bases >=36 again Misc cleanup
* Use 'mov' instead of 'lea' for setting the syscall number in %eax as thatjhb2001-11-2713-21/+21
| | | | | | is clearer about what we are actually doing. Requested by: bde
* Must link strerror manpage to strerror_r.wes2001-11-271-0/+1
| | | | | | Thanks for the review, Mike. Submitted by: Mike Barcroft <mike@FreeBSD.org>
* Add strerror_r function per Posix prototype.wes2001-11-272-23/+107
| | | | | Reviewed by: Mike Barcroft <mike@FreeBSD.org> MFC after: 2 weeks
* Be more explicit about the fact that realloc() might return akeramida2001-11-241-0/+4
| | | | | | | different pointer than the one passed to it. PR: docs/31925 Submitted by: Andrew <andrew@ugh.net.au>
* mdoc(7) police: markup cleanup.ru2001-11-221-15/+26
|
* mdoc(7) police: add missing comma.ru2001-11-221-1/+1
|
* fix compilation (include -> #include)fjoe2001-11-211-1/+1
|
* mdoc(7) police: fixed typos and minor markup nits.ru2001-11-214-17/+21
|
* mdoc(7) police: general cleanup.ru2001-11-211-40/+55
|
* Should also include namespace.hgreen2001-11-211-1/+3
| | | | Submitted by: ru
* Change certain syscalls from x to _x.green2001-11-211-7/+7
| | | | Prodded by: bde
* Introduce readpassphrase(3), a superset of getpass(3). Thisgreen2001-11-205-101/+256
| | | | | | comes originally from Todd Miller. Obtained from: OpenBSD
* mdoc(7) police: minor markup and spelling fixes.ru2001-11-201-4/+7
|
* mdoc(7) police: sort xrefs.ru2001-11-201-2/+2
|
* mdoc(7) police: consistently use the .Ux macro.ru2001-11-201-4/+4
|
* mdoc(7) police: remove whitespace at EOL.ru2001-11-201-1/+1
|
* Actually build new files.jake2001-11-191-1/+2
| | | | Forgotten by: jake
* Need .type and .size here too.jake2001-11-187-4/+15
|
* Add more libc stuff.jake2001-11-1811-0/+843
| | | | Obtained from: netbsd
* Catch up to jmpbuf changes. Define offsets used from assmebly languagejake2001-11-182-24/+39
| | | | | in another file so that it is easy to see what they are and keep them in sync with the headers (grafted from the kernel generated assym.s).
* Remove fork and vfork wrappers. The kernel does the right thing.jake2001-11-183-127/+1
|
* Add .type and .size pseudo-ops to system call macros so that dynamic binariesjake2001-11-181-7/+15
| | | | will link. They must be used for weak symbols as well as strong ones.
* Remove a sentence from the BUGS section that claims non page-alignediedowse2001-11-181-3/+1
| | | | | | | | offsets don't work. It should really be documented that the returned pointer can be in the middle of a fully-valid page when the offset is not page-aligned, but I couldn't come up with suitable wording. PR: kern/22754
* If 'VX' is given, realloc(foo,0) will bail, it shouldn't.phk2001-11-171-2/+5
| | | | | PR: 29376 Submitted by: Farooq Mela <fmela0@sm.socccd.cc.ca.us>
* Correctly call THREAD_UNLOCK() if the recursive call trap is sprung.phk2001-11-161-0/+2
| | | | Pointed out by: knu
* Create link from directory.3 to readdir_r.3.dd2001-11-161-2/+2
| | | | | PR: 32028 Submitted by: andrew@ugh.net.au
* o Reflect repo-copy of extattr.[c3] from libutil to libc, movingrwatson2001-11-161-2/+6
| | | | | | | | extattr namespace routines to the libc/posix1e directory. While the extattr calls are not strictly POSIX.1e, POSIX.1e wasn't strictly ever approved, so I think that's OK. Obtained from: TrustedBSD Project
* o Implement imaxabs(), imaxdiv(), llabs(), lldiv().mike2001-11-1513-12/+450
| | | | | | | o Update abs(3), div(3), labs(3), ldiv(3) to reflect standards conformance and add additional references. Reviewed by: bde, wollman
* Cross-reference the fdopen and fileno manpages.murray2001-11-142-1/+3
| | | | | PR: docs/31866 Submitted by: W. Campbell <wcampbel@botbay.net>
* Cleanups after previous change:jhb2001-11-132-18/+4
| | | | | | | | | | | - Renumber labels since the previous revision removed one. - Remove useless and wrong comment. - Repeating the function name is just redundant. - The previous revision made the comment about %edx useless. - The comment about %eax was wrong (but did explain why %eax used to be fixed up). Submitted by: bde
* The kernel already fixes up %eax for parents that return from fork, sojhb2001-11-136-110/+4
| | | | | don't bother manually fixing up %eax for the parent process by testing the value in %edx and zeroing and already zeroed %eax.
* Fixed namespace pollution related to `err' in libc in the same way as forbde2001-11-116-7/+17
| | | | | | | | `warn'. Now a whole 2 members of the err() family don't cause pollution. This fixes world breakage in awk for NOSHARED worlds. contrib/awk/msg.c has had its own version of err() for a long time, but this somehow didn't cause problems until the update to awk-3.1.0.
* Increment the loop counter.des2001-11-101-0/+1
| | | | | PR: bin/29218 Submitted by: Goran Lowkrantz <goran.lowkrantz@ismobile.com>
* - Put missing prototype for rcmd() in <unistd.h>.ru2001-11-092-58/+66
| | | | | | | - Clean up the manpage. - style(9) rcmdsh.c. Committed from: BSDCon/EU 2k+1 terminal room
* The algorithm that computes the tables used in the BM search algorithm sometimesdcs2001-11-091-1/+2
| | | | | | | | | | access an array beyond it's length. This only happens in the last iteration of a loop, and the value fetched is not used then, so the bug is a relatively innocent one. Fix this by not fetching any value on the last iteration of said loop. Submitted by: MKI <mki@mozone.net> MFC after: 1 week
* Note that the manpage is incorrect about the vector argument.peter2001-11-091-0/+3
|
* Fix vendor ID's.obrien2001-11-0712-36/+60
|
* rcsid[]->__FBSDIDobrien2001-11-0755-248/+95
|
* Don't ignore unknown characters. The previous code treated a line like:fenner2001-11-072-3/+5
| | | | | | | | | | | | hosts:!!!!!!!!@@@@@$%^&*()()*$(files{}{}|||++!)(dns exactly the same as: hosts: files dns Recover from parse errors by looking for the end of a line; this allows entries without errors to still be parsed even if there is an erroneous entry earlier in the file.
* Add a note explaining why CLOCKS_PER_SEC isn't 1000000.dwmalone2001-11-051-1/+10
| | | | | | | While I'm here, "of a second" does not belong to CLOCKS_PER_SEC. PR: 30297 Submitted by: Bernd Luevelsmeyer <bdluevel@heitec.net>
* - There is no such thing as a socket structure. sockets are integers.jhb2001-11-051-2/+2
| | | | | | | | | | | I'm assuming that the comment was regarding socket address structures, so correct the comment about pre-zero'ing socket structures to recommend pre-zero'ing socket address structures. - Fix some minor grammar nits. - This isn't directly submitted by the PR below but is related to it and was inspired by it. PR: 31704
* Document ENETDOWN.dd2001-11-051-0/+2
| | | | | PR: 31436 Submitted by: Milon Papezik <milon.papezik@oskarmobil.cz>
* malloc and calloc do not free memory.dd2001-11-051-2/+3
| | | | | PR: 31365 Submitted by: SUZUKI Koichi <koich@cac.co.jp>
* Make strtod.c work on Alpha as well. strtod.c has got locale support,peter2001-11-041-11/+8
| | | | | | the netbsd_strtod.c file we have does not. More still should be done here, but this works happily on my Alpha. I have not (yet?) changed the Makefile.inc to use this.
* Slightly closer to netbsd_strtod.c:peter2001-11-041-11/+12
| | | | | s/IEEE_8087/IEEE_LITTLE_ENDIAN/ s/IEEE_MC68k/IEEE_BIG_ENDIAN/
* Implement fpsetmask() and fpgetmask().dfr2001-11-033-1/+83
|
OpenPOWER on IntegriCloud