summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Fill _res.sort_list with harmless entry. sortlist for IPv6/IPv4ume2001-08-111-0/+3
| | | | | | | | | is stored in _res_ext.sort_list, and sortlist for IPv4 is stored in _res.sort_list for backward compatibility. However, both sort_list's are maintaind by just one index _res.nsort. So, when IPv6 address is specified to sortlist, empty entry was created in _res.sort_list. It broke sortlist facility of gethostbyname(). Discussed on users@jp.ipv6.org.
* Use .Fn, .Fa, and .Dv where appropriate.dd2001-08-101-2/+6
|
* mdoc(7) police: join split punctuation to macro calls.ru2001-08-107-13/+13
|
* mdoc(7) police: fixed the "new sentence" bogons.ru2001-08-101-1/+1
|
* mdoc(7) police: protect trailing full stops of abbreviationsru2001-08-106-6/+6
| | | | with a trailing zero-width space: `e.g.\&'.
* Fixed style bugs (dot `.' at the end of error and warning messages).ru2001-08-101-22/+22
| | | | Noticed by: bde
* Markup nits: use diagnostic type lists for error and warning messages.ru2001-08-101-21/+17
| | | | | | | | Backout previous revision. We should not expand plain text xrefs if they appear in the literal text, e.g. in the error or warning message of the library function. (Submitted by: bde) Moved "out of memory" from warning to errors section.
* mdoc(7) police: add xref to intro(2).ru2001-08-101-0/+1
|
* o Remove some misleading and incomplete information about searchmike2001-08-091-11/+8
| | | | | | | | permissions. o Add a reference to intro(2) where it is properly documented. Reviewed by: bde MFC after: 3 days
* o Various mdoc fixes.mike2001-08-091-10/+50
| | | | | | | | | | o Replace strncpy examples with less confusing ones from OpenBSD. These examples give more detail and also suggest using strlcpy(3). Reviewed by: des, ru, sheldonh Obtained from: OpenBSD MFC after: 3 days
* Fix xrefs.sobomax2001-08-091-1/+1
| | | | | | | | times.3: gettimeofday(3) --> gettimeofday(2) rc.conf.5: isndn(8) --> isdnd(8) idsnd(8) --> isdnd(8) MFC after: 2 weeks
* Use the ``.Rv -std'' mdoc(7) macro in appropriate cases.yar2001-08-0958-243/+58
| | | | Reviewed by: ru
* typo: patched->matchedmikeh2001-08-091-1/+1
|
* mdoc(7) police: expand plain text xrefs.ru2001-08-0810-10/+25
|
* Urge the reader to start using getaddrinfo(3) and getnameinfo(3)ru2001-08-081-0/+14
| | | | | | | protocol-independant functions that don't use static memory area. Suggested by: nik Liked by: ume, brian
* mdoc(7) police: remove whitespace at EOL.ru2001-08-081-1/+1
|
* mdoc(7) police: markup nits.ru2001-08-081-16/+11
|
* Update ptrace(2) re: PT_READ_U and PT_WRITE_Upeter2001-08-081-45/+0
|
* mdoc(7) police:ru2001-08-0717-88/+66
| | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
* mdoc(7) police: sort xrefs.ru2001-08-071-1/+1
|
* mdoc(7) police: markup nits.ru2001-08-071-1/+2
|
* varargs -> stdargdd2001-08-051-2/+2
|
* Don't clobber the default for CFLAGS.bde2001-08-031-1/+2
|
* In getclnthandle(), if the address is found in the cache we neediedowse2001-08-021-2/+5
| | | | | | | | | | to strdup() the address string before returning it via *targaddr because the caller will free the string. Change the comment at the top of getclnthandle() to clarify that the caller is responsible for freeing *targaddr. Noticed by: sobomax
* mdoc(7) police: remove hard sentence breaks.dd2001-08-011-4/+4
|
* MFS: in HISTORY section, fix release number of first appearancesheldonh2001-08-014-4/+4
|
* Fix broken Fn calls; Fn doesn't take a manual page section as ansheldonh2001-08-011-5/+5
| | | | | | argument. Terminate the last sentence with a period.
* Only pull in the MD files if they exist. This allows for progressivemp2001-07-315-0/+10
| | | | implementation and compilation when bringing up a new architecture.
* Mention the sa_handler and sa_sigaction #defines in the synopsis.brian2001-07-311-3/+7
| | | | | | Mark sa_sigaction consistently. MFC after: 1 week
* FreeBSD now also defines EIDRM and uses it.asmodai2001-07-301-8/+0
| | | | | | Inspired by PR: 22470 Which was submitted by: Bjorn Tornqvist <bjorn@west.se> MFC after: 1 week
* Remove bogus BUGS section.asmodai2001-07-301-6/+1
| | | | | | | | FreeBSD _does_ define ENOMSG as per SVID when IPC_NOWAIT is set. PR: 22470 Submitted by: Bjorn Tornqvist <bjorn@west.se> MFC after: 1 week
* Correct the old length argument passed to sysctlbyname to be a pointertmm2001-07-291-1/+2
| | | | | | to a size_t (not to an int). MFC after: 2 days
* Avoid any chance of being misunderstood as having libelled developerssheldonh2001-07-291-1/+1
| | | | | | | | or developers' vendors without compromising the importance of warning against bad practice. Reported by: mjacob MFC after: 1 week
* Don't xref mt(1) just because it mentions ioctl.dd2001-07-291-1/+0
| | | | Submitted by: Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>
* Don't capitalize variable names.dd2001-07-291-3/+3
|
* ioctl(2) can return EFAULT from copyin.dd2001-07-291-0/+3
| | | | | PR: 29285 Submitted by: Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>
* Rename the GLOB_MAXPATH flag of glob(3) to GLOB_LIMIT to be compatiblemikeh2001-07-292-21/+24
| | | | | | | | | | with NetBSD and OpenBSD. glob(3) will now return GLOB_NOSPACE with errno set to 0 instead of GLOB_LIMIT when we match more than `gl_matchc' patterns. GLOB_MAXPATH has been left as an alias of GLOB_LIMIT to maintain backwards compatibility. Reviewed by: sheldonh, assar Obtained from: NetBSD/OpenBSD
* Add cross-references for the new kldsym(2) man page.chris2001-07-279-0/+9
|
* Add a new kldsym(2) man page.chris2001-07-272-2/+124
|
* The previous delta duplicated a significant amount of informationsheldonh2001-07-241-122/+4
| | | | | | | | already found in the sigaction(2) manual. As discussed with the committer of that delta, cross-reference the list in sigaction(2) instead of duplicating the list of functions that are safe for use within signal handlers.
* Sync to OpenBSD (update comment and minor style change).kris2001-07-241-3/+4
| | | | | Obtained from: OpenBSD MFC after: 1 week
* Sync to OpenBSD:kris2001-07-241-2/+23
| | | | | | | | | | | | Clarify that if strlcat() does not find a NUL within siz byte it will not NUL terminate either. Document boundary condition when size < strlen(dst). "of", not "on" (from Henric Jungheim) Obtained from: OpenBSD MFC After: 1 week
* The delta introduced in the previous revision and attributed to thesheldonh2001-07-241-2/+4
| | | | | OpenBSD project had grammar problems and made no attempt to motivate the practice of saving errno. Replace it with something better.
* Finish the sweep of changes that fix doubled 'the'.sheldonh2001-07-242-2/+2
|
* Add the list of signal-handler safe functions here too, so people cankris2001-07-241-0/+123
| | | | | | | find it more easily Obtained from: OpenBSD MFC After: 1 week
* Add a few more functions which are safe to call from signal handlers,kris2001-07-241-0/+20
| | | | | | | and give a bit of advice. Obtained from: OpenBSD MFC After: 1 week
* Unify SEE ALSO sections of the kld*.2 and mod*.2 manpages.yar2001-07-249-5/+19
| | | | | | Previously, some useful xrefs were missing. Now each of the pages refers to all remaining section 2 pages, to the kld(4) page, and to a related utility's (section 8) page.
* Fix some man page xrefs.mpp2001-07-221-2/+2
| | | | | PR: docs/26065 MFC after: 1 week
* Document EVFILT_TIMER.jlemon2001-07-191-0/+12
| | | | MFC after: 1 week
* Don't claim that strncpy() is the same as strcpy().dd2001-07-191-6/+6
| | | | | PR: 29002 Submitted by: Joseph Mallett <jmallett@xMach.org>
OpenPOWER on IntegriCloud