summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Introduce .Lb macro to libc_r manpages.Alexey Zelkin2000-04-226-0/+12
| | | | Notes: svn path=/head/; revision=59501
* Add shm_open(3) and shm_unlink(3). The documentation could use a goodGarrett Wollman2000-04-224-2/+457
| | | | | | | | bit of work (and is stylistically probably the worst manual page I've ever written). Notes: svn path=/head/; revision=59497
* Introduce ".Lb" macro to libc manpages.Alexey Zelkin2000-04-21363-1/+727
| | | | | | | More libraries manpages updates following. Notes: svn path=/head/; revision=59460
* Change getaddrinfo() resolve orderYoshinobu Inoue2000-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 Notes: svn path=/head/; revision=59411
* Add comment after localesAndrey A. Chernov2000-04-1212-24/+48
| | | | | | | | | Use .Li for type Suggested-by: sheldonh Notes: svn path=/head/; revision=59180
* Fix typo, reported by George Cox.Jeroen Ruigrok van der Werven2000-04-121-8/+8
| | | | | | | | | Fix hard sentence breaks. Submitted by: George Cox <gjvc@sophos.com> Notes: svn path=/head/; revision=59176
* Do proper byte swapping in 64bit routines.Sheldon Hearn2000-04-121-14/+23
| | | | | | | | | PR: 17681 Submitted by: "David E. Cross" <crossd@cs.rpi.edu> Obtained from: NetBSD Notes: svn path=/head/; revision=59165
* Better wording according to multibyte(3)Andrey A. Chernov2000-04-1112-24/+96
| | | | | | | | Better man formatting Add reference to multibyte(3) Notes: svn path=/head/; revision=59149
* Add a missing THREAD_UNLOCK() found missing by Valentin NechayevPoul-Henning Kamp2000-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. Notes: svn path=/head/; revision=59117
* Document EWOULDBLOCK as a possible errno return value.Archie Cobbs2000-04-091-0/+7
| | | | Notes: svn path=/head/; revision=59105
* Back out valid argument domain change - sneak to this function by error.Andrey A. Chernov2000-03-281-4/+2
| | | | | | | | Reword test condition better. Previous variant was true for negative characters too. Notes: svn path=/head/; revision=58739
* Describe valid argument domain for 8-bit wide locales to prevent common errorAndrey A. Chernov2000-03-2815-0/+30
| | | | | | | calling ctype functions with signed char as an argument. Notes: svn path=/head/; revision=58737
* Decrement the timeout being passed to poll() if poll was interrupted forJonathan Lemon2000-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 Notes: svn path=/head/; revision=58637
* Spelling, fprintf -> err, remove unneeded variable declarationPhilippe Charnier2000-03-261-8/+3
| | | | Notes: svn path=/head/; revision=58633
* Fixed missing #include of <sys/types.h> in synopsis.Bruce Evans2000-03-231-2/+3
| | | | | | | | Fixed spelling error in prototype for inet_option_space(). Fixed syntax error in prototype for inet6_option_alloc(). Notes: svn path=/head/; revision=58490
* Fixed missing #include of <sys/types.h> in synopsis.Bruce Evans2000-03-231-0/+1
| | | | Notes: svn path=/head/; revision=58488
* Fixed wrong arg type in synopsis.Bruce Evans2000-03-231-1/+1
| | | | Notes: svn path=/head/; revision=58486
* Add a man page for aio_waitcomplete(). Update the aio_cancel() man page toJason Evans2000-03-213-19/+179
| | | | | | | | | reflect the fact that aio_cancel() works now. Submitted by: Christopher Sedore <cmsedore@maxwell.syr.edu> Notes: svn path=/head/; revision=58420
* Back out that last commit, it may be insecure (pointed out by WarnerBrian S. Dean2000-03-161-1/+1
| | | | | | | Losh). Notes: svn path=/head/; revision=58154
* Slight adjustment to __ivaliduser() - don't ignore the last line inBrian S. Dean2000-03-161-1/+1
| | | | | | | the .rhosts file just because there is no ending linefeed. Notes: svn path=/head/; revision=58152
* Take care to avoid having "strong" and "weak" symbols of the same name inJason Evans2000-03-1610-12/+14
| | | | | | | libc_r. Notes: svn path=/head/; revision=58126
* Fix uninitialized variable.Jonathan Lemon2000-03-151-1/+1
| | | | | | | Submitted by: tanimura Notes: svn path=/head/; revision=58096
* Merge from NetBSD. Addition of inet_ntop() and inet_pton() description.Yoshinobu Inoue2000-03-122-2/+60
| | | | | | | | | Specified by: Robert Muir <rmuir@looksharp.net> Obtained from: NetBSD Notes: svn path=/head/; revision=57940
* Cosmetic fix. Re-order MLINKS for if_indextoname.3 and inet.3 as alphabeticalYoshinobu Inoue2000-03-121-2/+2
| | | | | | | order. Notes: svn path=/head/; revision=57939
* Correct MLINKS contents for rcmd.3, because it is obsolete due toYoshinobu Inoue2000-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. Notes: svn path=/head/; revision=57937
* Import from KAME. Advanced API related function descriptions.Yoshinobu Inoue2000-03-123-1/+790
| | | | | | | Obtained from: KAME project Notes: svn path=/head/; revision=57936
* Add in IPV4 NIS support.Jonathan Lemon2000-03-091-0/+39
| | | | | | | | PR: 17290 (but not the same patch) Approved by: jkh Notes: svn path=/head/; revision=57878
* Fix various unsigned vs signed errors that caused problems with uidsPaul Richards2000-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) Notes: svn path=/head/; revision=57868
* More grammer, wording, and mdoc fixes.Yoshinobu Inoue2000-03-091-26/+20
| | | | | | | | Submitted by: bde Reviewed by: sheldonh Notes: svn path=/head/; revision=57866
* Temporary cosmetic change to prevent gcc-2.95.2 from doing anMartin Cracauer2000-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 Notes: svn path=/head/; revision=57822
* Replace structure copy form ifreq obtained by SIOCGIFADDRYoshinobu Inoue2000-03-032-2/+2
| | | | | | | | | to memcpy(), to avoid unaligned access trap on alpha. Approved by: jkh Notes: svn path=/head/; revision=57728
* CMSG_XXX macros alignment fixes to follow RFC2292.Yoshinobu Inoue2000-03-031-6/+18
| | | | | | | | | | Approved by: jkh Submitted by: Partly from tech@openbsd Reviewed by: itojun Notes: svn path=/head/; revision=57719
* Fixed wrong function return types in synopsis.Bruce Evans2000-03-032-4/+4
| | | | Notes: svn path=/head/; revision=57707
* -Reflect function name change.Yoshinobu Inoue2000-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 Notes: svn path=/head/; revision=57699
* Remove more single-space hard sentence breaks.Sheldon Hearn2000-03-024-6/+12
| | | | Notes: svn path=/head/; revision=57695
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-0247-147/+294
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57686
* Fix errors in .Xr usage.Nik Clayton2000-03-011-1/+1
| | | | | | | | PR: docs/17057 Submitted by: Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de> Notes: svn path=/head/; revision=57666
* Add MAP_NOCORE to mmap(2), and MADV_NOCORE and MADV_CORE to madvise(2).Paul Saab2000-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 Notes: svn path=/head/; revision=57550
* Restore `[no]{s|u}unlnk' and `[no]opaque' support.Ruslan Ermilov2000-02-223-6/+21
| | | | | | | | | | Broken in src/bin/ls/stat_flags.c,v 1.12. PR: 16885 Approved by: jkh Notes: svn path=/head/; revision=57389
* Change IPv6 scoped addr format again based on recent standard discussion.Yoshinobu Inoue2000-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 Notes: svn path=/head/; revision=57340
* Fix null-pointer dereference crash when the system is intentionallyMatthew Dillon2000-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 Notes: svn path=/head/; revision=57263
* Add man pages for the sem_*() functions.Jason Evans2000-02-166-0/+503
| | | | | | | Approved by: jkh Notes: svn path=/head/; revision=57260
* Fix coredump in gethostbyaddr() when the returned answer is too large toBill Fenner2000-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 Notes: svn path=/head/; revision=57252
* Replace `.Os BSD' which caused a troff error with `.Bx' which alsoChris Costello2000-02-141-1/+1
| | | | | | | happens to be the correct macro to use in this situation. Notes: svn path=/head/; revision=57194
* Document the support in the kernel for hardware debug registers on theDavid E. O'Brien2000-02-121-1/+20
| | | | | | | | | ix86 platform which allows for hardware watchpoints, etc... Submitted by: Brian Dean <brdean@unx.sas.com> Notes: svn path=/head/; revision=57168
* Add more dual stack consideration.Yoshinobu Inoue2000-02-101-1/+5
| | | | | | | | | | | -Should not error return when rresvport_af() failed for one of dest addrs resolved by getaddrinfo(). Should retry until all dest addr fail. Approved by: jkh Notes: svn path=/head/; revision=57123
* Let getaddrinfo() and related functions supports traditional IPv4 formatYoshinobu Inoue2000-02-102-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | (shortend format, etc) Current KAME getaddrinfo() supports only d.d.d.d format IPv4 addr. But traditionally inet_aton() and etc support other formats. (shortend format and octal/deciaml/hex format) Aboud this, -As far as the discussion on freebsd-current, many people think traditional format should also be supported by getaddrinfo(). -X/Open spec requires getaddrinfo() also support those traditional IPv4 format. -RFC2553 say nothing about it. -As the result of confirmation in ietf/ipng list, there is no clear concensus yet, and the reply was, "RFC2553 update and X/Open spec will be in sync" So takeing these conditions into account, I think getaddrinfo() should also support traditional IPv4 format. Specified by: Marc Schneiders <marc@oldserver.demon.nl> Approved by: jkh Notes: svn path=/head/; revision=57107
* Replace the existing documentation for ``KERN_QUANTUM'' with a moreChris Costello2000-02-101-4/+2
| | | | | | | descriptive (and generally more useful) explanation. Notes: svn path=/head/; revision=57102
* IPv6 scoped addr format is changed as recent KAME change.Yoshinobu Inoue2000-02-092-6/+16
| | | | | | | | | | | | | | | | | KAME scoped addr format is changed recently. before: addr@scope now: scope%addr Because the end of IPv6 numeric addr is tend to be truncated in `netstat -rn ` output, so placing scope part at starting of addr will be convenient. Approved by: jkh Obtained from: KAME project Notes: svn path=/head/; revision=57069
* There is a problem in that one cannot use ctype.h at the same time as partsDavid E. O'Brien2000-02-082-49/+145
| | | | | | | | | | | | | | | | | of the C++ stdlib. Our ctype.h uses symbols of the form _<X> to denote the various character classes. Our ctype.h also extends the usual ctype.h offering by adding the "_T" (special) class. Problem is parts of the STL also use the symbol "_T" as its parameterized type. These two uses are incompatible. Thus change the form of the symbols used in ctype to something that fixes the current problem and is less likely to cause conflicts in the future. Requested by: Tomoaki NISHIYAMA <tomoaki@biol.s.u-tokyo.ac.jp> Ok'ed by: JKH Notes: svn path=/head/; revision=57035