summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo. Use `.Fa' to denote a function argument.jkoshy2000-04-261-2/+4
| | | | | PR: docs/18214 Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
* Spell MAP_NOSYNC correctly.wollman2000-04-232-2/+2
| | | | Submitted by: allenc@verinet.com
* .Lb-ifywollman2000-04-232-0/+4
|
* Introduce .Lb macro to libutil manpagesphantom2000-04-221-6/+2
| | | | | | Sort .Nm values in some manpages Remove explicit note about compiling with -lutil, it's implicitly declared by .Lb macro now.
* Introduce .Lb macro to libposix1e manpagesphantom2000-04-2211-15/+37
| | | | | Sort some .Nm values Decapitalize .Nd values
* Introduce .Lb macro to libc_r manpages.phantom2000-04-226-0/+12
|
* Add shm_open(3) and shm_unlink(3). The documentation could use a goodwollman2000-04-224-2/+457
| | | | | bit of work (and is stylistically probably the worst manual page I've ever written).
* Introduce ".Lb" macro to libc manpages.phantom2000-04-21363-1/+727
| | | | More libraries manpages updates following.
* Change getaddrinfo() resolve ordershin2000-04-202-75/+317
| | | | | | | | | | | from all AAAA trial, then all A trial to try AAAA and A for each trial TODO: more fix for the case where IPv4 mapped IPv6 addr is disabled Reviewed by: ume
* Add comment after localesache2000-04-1212-24/+48
| | | | | | Use .Li for type Suggested-by: sheldonh
* Fix typo, reported by George Cox.asmodai2000-04-121-8/+8
| | | | | | Fix hard sentence breaks. Submitted by: George Cox <gjvc@sophos.com>
* Do proper byte swapping in 64bit routines.sheldonh2000-04-121-14/+23
| | | | | | PR: 17681 Submitted by: "David E. Cross" <crossd@cs.rpi.edu> Obtained from: NetBSD
* Better wording according to multibyte(3)ache2000-04-1112-24/+96
| | | | | Better man formatting Add reference to multibyte(3)
* Add a missing THREAD_UNLOCK() found missing by Valentin Nechayevphk2000-04-102-8/+2
| | | | | | | <netch@segfault.kiev.ua> Remove allocation failure check from 'A' option, the 'X' option does this as a standalone check now.
* Document EWOULDBLOCK as a possible errno return value.archie2000-04-091-0/+7
|
* Back out valid argument domain change - sneak to this function by error.ache2000-03-281-4/+2
| | | | | Reword test condition better. Previous variant was true for negative characters too.
* Describe valid argument domain for 8-bit wide locales to prevent common errorache2000-03-2815-0/+30
| | | | calling ctype functions with signed char as an argument.
* Decrement the timeout being passed to poll() if poll was interrupted forjlemon2000-03-261-5/+22
| | | | | | | some reason. This will prevent an infinite loop if (say) a sigalarm is being scheduled at a more frequent interval than the poll timeout. PR: 2191, 8847, 10553
* Spelling, fprintf -> err, remove unneeded variable declarationcharnier2000-03-261-8/+3
|
* Fixed missing #include of <sys/types.h> in synopsis.bde2000-03-231-2/+3
| | | | | Fixed spelling error in prototype for inet_option_space(). Fixed syntax error in prototype for inet6_option_alloc().
* Fixed missing #include of <sys/types.h> in synopsis.bde2000-03-231-0/+1
|
* Fixed wrong arg type in synopsis.bde2000-03-231-1/+1
|
* Add a man page for aio_waitcomplete(). Update the aio_cancel() man page tojasone2000-03-213-19/+179
| | | | | | reflect the fact that aio_cancel() works now. Submitted by: Christopher Sedore <cmsedore@maxwell.syr.edu>
* Back out that last commit, it may be insecure (pointed out by Warnerbsd2000-03-161-1/+1
| | | | Losh).
* Slight adjustment to __ivaliduser() - don't ignore the last line inbsd2000-03-161-1/+1
| | | | the .rhosts file just because there is no ending linefeed.
* Take care to avoid having "strong" and "weak" symbols of the same name injasone2000-03-1610-12/+14
| | | | libc_r.
* Fix uninitialized variable.jlemon2000-03-151-1/+1
| | | | Submitted by: tanimura
* Merge from NetBSD. Addition of inet_ntop() and inet_pton() description.shin2000-03-122-2/+60
| | | | | | Specified by: Robert Muir <rmuir@looksharp.net> Obtained from: NetBSD
* Cosmetic fix. Re-order MLINKS for if_indextoname.3 and inet.3 as alphabeticalshin2000-03-121-2/+2
| | | | order.
* Correct MLINKS contents for rcmd.3, because it is obsolete due toshin2000-03-121-3/+4
| | | | | | | recent changes to rcmd.3. links to iruserok_af.3, ruserok_af.3 are removed. link to iruserok_sa.3 is added.
* Import from KAME. Advanced API related function descriptions.shin2000-03-123-1/+790
| | | | Obtained from: KAME project
* Add in IPV4 NIS support.jlemon2000-03-091-0/+39
| | | | | PR: 17290 (but not the same patch) Approved by: jkh
* Fix various unsigned vs signed errors that caused problems with uidspaul2000-03-091-5/+14
| | | | | | | and gids bigger than 16 bits. Added checks for uids and gids that are bigger than 32 bits. Approved by: jkh (partly, this fix is bigger than I first intended)
* More grammer, wording, and mdoc fixes.shin2000-03-091-26/+20
| | | | | Submitted by: bde Reviewed by: sheldonh
* Temporary cosmetic change to prevent gcc-2.95.2 from doing ancracauer2000-03-081-1/+1
| | | | | | | | | | | | | optimization that generates code our current as doesn't understand. The result is bad code that damages dynamic symbol locations at runtime. Ouch. See PR bin/16862 and discussion in -current. This change will be backed out when gcc and gas are back in sync. PR: Fixes bin/16862, but not the underlying problem. Submitted by: bde Approved by: jdk
* Replace structure copy form ifreq obtained by SIOCGIFADDRshin2000-03-032-2/+2
| | | | | | to memcpy(), to avoid unaligned access trap on alpha. Approved by: jkh
* CMSG_XXX macros alignment fixes to follow RFC2292.shin2000-03-031-6/+18
| | | | | | | Approved by: jkh Submitted by: Partly from tech@openbsd Reviewed by: itojun
* Fixed wrong function return types in synopsis.bde2000-03-032-4/+4
|
* -Reflect function name change.shin2000-03-021-36/+83
| | | | | | | | | | | | | | -Added more description. -Many grammer fix. -Fix hard sentence break. -Many other man style fix. Thanks for bde finding out the problem. Thanks for sheldon for the patient and thorough review. :-) Submitted by: bde Reviewed by: sheldonh
* Remove more single-space hard sentence breaks.sheldonh2000-03-024-6/+12
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-0247-147/+294
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Fix errors in .Xr usage.nik2000-03-011-1/+1
| | | | | PR: docs/17057 Submitted by: Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de>
* Add MAP_NOCORE to mmap(2), and MADV_NOCORE and MADV_CORE to madvise(2).ps2000-02-282-0/+8
| | | | | | | | | | | | This This feature allows you to specify if mmap'd data is included in an application's corefile. Change the type of eflags in struct vm_map_entry from u_char to vm_eflags_t (an unsigned int). Reviewed by: dillon,jdp,alfred Approved by: jkh
* Restore `[no]{s|u}unlnk' and `[no]opaque' support.ru2000-02-223-6/+21
| | | | | | | Broken in src/bin/ls/stat_flags.c,v 1.12. PR: 16885 Approved by: jkh
* Change IPv6 scoped addr format again based on recent standard discussion.shin2000-02-192-9/+6
| | | | | | | | | Sorry for the flapping, but no change will be done for 4.0 anymore. Official standard will be published around April or later. If different format would be adopted at that time, then support for the new format will be added to the succeeding FreeBSD 4.x. Approved by: jkh
* Fix null-pointer dereference crash when the system is intentionallydillon2000-02-161-1/+2
| | | | | | | | | | | | | | | | run out of KVM through a mmap()/fork() bomb that allocates hundreds of thousands of vm_map_entry structures. Add panic to make null-pointer dereference crash a little more verbose. Add a new sysctl, vm.max_proc_mmap, which specifies the maximum number of mmap()'d spaces (discrete vm_map_entry's in the process). The value defaults to around 9000 for a 128MB machine. The test is scaled for the number of processes sharing a vmspace (aka linux threads). Setting the value to 0 disables the feature. PR: kern/16573 Approved by: jkh
* Add man pages for the sem_*() functions.jasone2000-02-166-0/+503
| | | | Approved by: jkh
* Fix coredump in gethostbyaddr() when the returned answer is too large tofenner2000-02-161-0/+4
| | | | | | | | | fit in the static buffer. This fix causes it to look like there is no data available, which is also wrong but is better than dumping core. PR: bin/10344 Reviewed by: billf Approved by: jkh
* Replace `.Os BSD' which caused a troff error with `.Bx' which alsochris2000-02-141-1/+1
| | | | happens to be the correct macro to use in this situation.
* Document the support in the kernel for hardware debug registers on theobrien2000-02-121-1/+20
| | | | | | ix86 platform which allows for hardware watchpoints, etc... Submitted by: Brian Dean <brdean@unx.sas.com>
OpenPOWER on IntegriCloud