summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* . style(9)Alexey Zelkin2003-06-267-19/+41
| | | | | | | | . fix/add comments (to cover changes done thru last 20 months) . extend monetary testcase to cover int_* values Notes: svn path=/head/; revision=116875
* Reduce code duplication by separating _PathLocle detection code intoAlexey Zelkin2003-06-253-37/+37
| | | | | | | internal helper function. Notes: svn path=/head/; revision=116847
* Move _PathLocale declaration to more logical place (setlocale.c)Alexey Zelkin2003-06-252-1/+5
| | | | Notes: svn path=/head/; revision=116846
* Catch up with _PATH_LOCALE move from rune.h to paths.hAlexey Zelkin2003-06-251-1/+1
| | | | Notes: svn path=/head/; revision=116845
* mdoc policeDavid E. O'Brien2003-06-251-6/+6
| | | | Notes: svn path=/head/; revision=116843
* Be more specific in BUGS.David E. O'Brien2003-06-251-5/+7
| | | | | | | | | Submitted by: ru Add history. Notes: svn path=/head/; revision=116834
* Push the alloca #error warning farther down to play nicer with some out ofDavid E. O'Brien2003-06-251-2/+4
| | | | | | | | | tree local translator. Requested by: jmallett Notes: svn path=/head/; revision=116833
* Don't statically initialize buf to _PATH_DEV, _PATH_DEV always copied toAndrey A. Chernov2003-06-241-1/+1
| | | | | | | it in any case. Notes: svn path=/head/; revision=116797
* Unify cross-references between sigpending(2), sigprocmask(2),Yaroslav Tykhiy2003-06-243-1/+5
| | | | | | | | | | | and sigsuspend(2), all three of which operate or depend on the process signal mask. Add a missing xref to sigsetops(3), without which the above three syscalls would be useless. Notes: svn path=/head/; revision=116786
* Supplement the cross-references section with those to sigpending(2)Yaroslav Tykhiy2003-06-241-0/+2
| | | | | | | | and sigprocmask(2). These two syscalls are likely to be accompanied by a few sigsetops(3) in a typical piece of code. Notes: svn path=/head/; revision=116785
* Implement signalcontext(). Needed by libpthread (aka libkse).Marcel Moolenaar2003-06-242-1/+123
| | | | Notes: svn path=/head/; revision=116775
* Add clarifications about the information that ntp_gettime returns.Warner Losh2003-06-211-8/+18
| | | | | | | | | | | | | TAI is a timescale, just like UTC. The tai field returns the offset between the two, and isn't really used for precision time keeping. Explain in brief what a positive and a negative leap seconds are. Add some URLs to very useful web pages about time and time keeping for more information on using this API. Reviewed by: phk Notes: svn path=/head/; revision=116656
* Userland spinlocks bad. Sleep locks good.David Schultz2003-06-211-2/+5
| | | | | | | | | Use the latter for gdtoa. Requested by: deischen (far too long ago) Notes: svn path=/head/; revision=116652
* ttyname(3) must return absolute pathnames.Poul-Henning Kamp2003-06-211-2/+8
| | | | | | | Noticed by: kris Notes: svn path=/head/; revision=116651
* Use devname(3) to do the task.Poul-Henning Kamp2003-06-201-66/+2
| | | | | | | Reviewed by: imp Notes: svn path=/head/; revision=116636
* Explain the relationship to POSIX.Garrett Wollman2003-06-201-0/+14
| | | | Notes: svn path=/head/; revision=116635
* ntp_adjtime returns the current state of the clock (TIME_*) on successWarner Losh2003-06-201-1/+4
| | | | | | | | | | or -1 on failure. The manual used to say it returned 0 or -1. Both examination of the kernel sources, and ntpd show that this is the case. MFC After: 3 days Notes: svn path=/head/; revision=116631
* Add devname_r(3) which takes a buffer as argument.Poul-Henning Kamp2003-06-202-56/+21
| | | | Notes: svn path=/head/; revision=116610
* Remove bogus non-reentrant "temporary" implementation of gethostbyaddr_r()Kris Kennaway2003-06-191-19/+0
| | | | | | | | | | that has been here for 6 years and 9 months. Reviewed by: deischen MFC After: 1 week Notes: svn path=/head/; revision=116574
* Make the execle() synopsis look (again) like a normal C prototype.Ruslan Ermilov2003-06-181-3/+3
| | | | | | | | | | | | Also fixed the rest of ell (list) functions prototypes to include a (commented out) terminating null pointer. Pointed out by: bde Obtained from: POSIX.1-2001 Glanced at by: imp Notes: svn path=/head/; revision=116537
* Xref policy: exit(2) -> _exit(2).Maxim Sobolev2003-06-171-1/+1
| | | | Notes: svn path=/head/; revision=116476
* Fix the execle(3) synopsis to include the environment pointer.Poul-Henning Kamp2003-06-171-1/+1
| | | | | | | Confused: anordby Notes: svn path=/head/; revision=116471
* Kill prototype for __msgwrite too. It is not needed anymore.Martin Blapp2003-06-151-1/+0
| | | | Notes: svn path=/head/; revision=116395
* Replace the old SCM_CREDS cred procedures. They can now beMartin Blapp2003-06-151-122/+21
| | | | | | | | | | | | replaced just fine with getpeereid() and the whole code gets a lot simpler. We don't break the ABI, since all server programms use __rpc_get_local_uid(), and we just change library internals. Reviewed by: des Notes: svn path=/head/; revision=116391
* Only use this with a non-GCC compiler.David E. O'Brien2003-06-141-0/+2
| | | | Notes: svn path=/head/; revision=116327
* Document ENOSPC.Tom Rhodes2003-06-131-0/+2
| | | | | | | | PR: 52612 Submitted by: Marc Olzheim <marcolz@ilse.nl> Notes: svn path=/head/; revision=116323
* This is unusable on amd64. Remove it before it causes more confusion.Peter Wemm2003-06-131-53/+0
| | | | | | | | | It is only possible to do this on an ABI that has a compulsory frame pointer, which the amd64 ABI does not. Thus, it is only possible to implement this as a compiler builtin. Notes: svn path=/head/; revision=116317
* Mark the following interfaces as OBSOLETE_IN_6:Tim J. Robbins2003-06-134-4/+16
| | | | | | | | | | fgetrune(), fputrune(), fungetrune(), mbrune(), mbrrune(), mbmb(), setinvalidrune(), UTF2 encoding method. These have been marked as being deprecated in their manual pages since 5.0, and their use causes a linker warning. Notes: svn path=/head/; revision=116283
* Fixes to locale code to properly use indirect pointers in order to preventJordan K. Hubbard2003-06-136-11/+11
| | | | | | | | | | memory leaks (fixes bugs earlier purported to be fixed). Submitted by: Ed Moy <emoy@apple.com> Obtained from: Apple Computer, Inc. MFC after: 2 weeks Notes: svn path=/head/; revision=116274
* Use C99 compatible ASM statements.David E. O'Brien2003-06-101-1/+1
| | | | | | | | (untested, but existing state breaks http://triangle.rtp.freebsd.org/~des/tinderbox-CURRENT-amd64-amd64.brief) Notes: svn path=/head/; revision=116172
* Remove transition period hackAndrey A. Chernov2003-06-101-32/+3
| | | | Notes: svn path=/head/; revision=116134
* Remove stale reference to the deprecated USER_LDT option. The associatedJohn Baldwin2003-06-091-4/+0
| | | | | | | | | | code is always compiled into the kernel now. Submitted by: Hubert Tournier <hubert@frbsd.org> PR: docs/53068 Notes: svn path=/head/; revision=116091
* The .Fn functionPhilippe Charnier2003-06-081-3/+6
| | | | Notes: svn path=/head/; revision=116025
* .Xr p1003_1b moved to .St -p1003.1b-93Philippe Charnier2003-06-082-6/+6
| | | | Notes: svn path=/head/; revision=116023
* .Xr -> .Lb for librairy. There is no manual page corresponding to .Xr.Philippe Charnier2003-06-081-1/+1
| | | | Notes: svn path=/head/; revision=116022
* Add or correct section number in .Xr. Use .Vt or .FnPhilippe Charnier2003-06-088-13/+13
| | | | | | | instead of .Xr when needed Notes: svn path=/head/; revision=116021
* Recognize the magic NODEV value.Poul-Henning Kamp2003-06-051-3/+3
| | | | | | | Format other unknown devices consistently in hex. Notes: svn path=/head/; revision=115881
* Document the new explicit listing API for extended attributes; noteRobert Watson2003-06-041-6/+32
| | | | | | | | | | | | that the old API (passing "" as the attribute name to the _get_ interface) is now deprecated (and was probably a bad idea). Pointed out by: Dominic Giampaolo <dbg@apple.com> Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Notes: svn path=/head/; revision=115802
* Document that kldload(2) can also return EEXIST.Hiten Pandya2003-06-031-0/+4
| | | | | | | Approved by: des (mentor) Notes: svn path=/head/; revision=115771
* Cosmetic; record offsets used within jmpbufPeter Wemm2003-06-023-30/+30
| | | | Notes: svn path=/head/; revision=115745
* Fix sigsetjmp(). It helps if we do not try to save the old signal maskPeter Wemm2003-06-021-0/+1
| | | | | | | to a random memory location. Perl works a lot better with this. Notes: svn path=/head/; revision=115738
* Use C99 compatible ASM statements.David E. O'Brien2003-06-022-3/+3
| | | | Notes: svn path=/head/; revision=115665
* o Fix a cut-n-paste bug. We were clobbering rp with gp...Marcel Moolenaar2003-06-021-2/+2
| | | | | | | | | o Make sure the arguments to ctx_wrapper() are loaded from the backing store by forcing an underflow. Do this by making all registers in the register frame local. Notes: svn path=/head/; revision=115657
* Match style of source and headers.Juli Mallett2003-06-011-1/+1
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=115641
* Assorted mdoc(7) fixes.Ruslan Ermilov2003-06-016-180/+190
| | | | Notes: svn path=/head/; revision=115631
* Add GBK encodingAndrey A. Chernov2003-06-013-2/+121
| | | | | | | | PR: 51504 Submitted by: Statue <statue@freebsd.sinica.edu.tw> Notes: svn path=/head/; revision=115626
* Clarify the code a bit.Poul-Henning Kamp2003-06-011-1/+2
| | | | | | | Submitted by: Nadav Eiron <nadav@TheEirons.org> Notes: svn path=/head/; revision=115610
* Make prototype match code with regard to constness of args to theJuli Mallett2003-06-011-1/+1
| | | | | | | function pointer passed in. Notes: svn path=/head/; revision=115604
* Fix grammar bogons.Jens Schweikhardt2003-05-311-1/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=115571
* Rough implement of makecontext() needed to support libthr.Marcel Moolenaar2003-05-312-1/+122
| | | | | | | | | | | | | | | | | o Up to 8 arguments are allowed. This is the number of arguments passed in registers. Subsequent registers are passed on the stack. Trying to deal with this is not easy in C and likely forces us to use assembly code. Let's avoid that for now. There's no indication that more than 8 arguments is a strong requirement (Linux also has an 8 argument limit). o We expect that the stack base is 16-byte aligned and the stack size is a multiple of 16-byte. We bomb out if this is not the case. We probably want to be less strict by enforcing it ourselves. For now it's better to not hide gross alignment bogons by silently correcting it. Notes: svn path=/head/; revision=115518