Commit Graph
94 Commits
Author SHA1 Message Date
cvs2svn a2a591a7dd This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2001-05-20 23:12:14 +00:00
Ruslan Ermilov 31c0391c8d MFC: (rev 1.8) Add RETURN VALUES section. 2001-05-14 18:40:15 +00:00
Ruslan Ermilov 68b300bfe6 MFC: MAN[1-9] -> MAN. 2001-04-25 10:04:44 +00:00
Ruslan Ermilov 0d8324cd36 MFC: recent mdoc(7) fixes. 2001-03-06 16:46:24 +00:00
David E. O'Brien 5ee963226b MFC: 1.8: clarify comments referring to strlcat() usage 2001-03-05 11:39:51 +00:00
David E. O'Brien e4d7af4b16 MFC: 1.3
- Reverse the order of two loop invariant to ensure strlcat() does not
  attempt to read memory when siz is 0
- Clarify comments referring to strlcat() usage
2001-03-05 11:38:46 +00:00
Kris Kennaway 94857b28e3 MFC: MAXPATHNAMELEN -> MAXPATHLEN 2001-02-18 02:38:41 +00:00
Ruslan Ermilov 53f9e54837 MFC: mdoc(7) police: Ft/Vt now accept punctuation-type arguments. 2001-01-12 16:16:02 +00:00
Ruslan Ermilov f796e00479 MFC: Prepare for mdoc(7)NG. 2000-12-29 14:45:07 +00:00
Ruslan Ermilov 43451d0bdd MFC: removed history info from the .Os FreeBSD call. 2000-12-14 12:18:13 +00:00
Ruslan Ermilov 20456d91bc MFC: recent mdoc(7) fixes. 2000-12-08 13:53:03 +00:00
Alexander Langer 959003b42f MFC: Drop index(3) and rindex(3) from SEE ALSO. 2000-07-18 08:26:20 +00:00
Alexander Langer a460d39629 MFC: Add SEE ALSO 2000-07-17 19:05:24 +00:00
Alexey Zelkin 95f2a89368 MFC: introduce .Lb macro to libc manpages 2000-04-22 17:07:11 +00:00
Sheldon Hearn c6ff3a1bf7 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-02 09:14:21 +00:00
Bill Fumerola 1ecbf08a0c Grammar: "be even number" -> "be an even number" 2000-01-03 20:18:04 +00:00
Tim Vanderhoek 555fff2109 Backout the prev. commit. It's a bad idea to make-up terms. I believe
there is no good solution here.

Set-on-the-straight-and-narrow by:	bde
1999-12-31 21:27:02 +00:00
Tim Vanderhoek 90f3949dad Add ".Xref tolower 3" since its internal use is inferred in DESCRIPTION. 1999-12-28 14:57:33 +00:00
Tim Vanderhoek 1ec6c24405 Avoid the potentially confusing term "a null pointer" and say "the NULL
pointer" instead.  The potential confusion arises because the string/*.3
pages use the term "null-terminated string" (which is permissable).  Moreover,
this also makes these two manpages more consistent with the other string/*.3
manpages.
1999-12-28 14:47:00 +00:00
Bill Fumerola b837caf89b Remove x-ref to itself.
Reviewed by:	mpp
1999-12-14 11:34:47 +00:00
David E. O'Brien dd4bd1e7ba Add HISTORY. 1999-10-29 16:50:22 +00:00
Warner Losh 4e2abf95a3 Xref strlcat, strlcpy
Inspired by: NetBSD commit message describing this.
1999-09-28 04:11:47 +00:00
Dmitrij Tejblum e755fb7671 __collate_substitute() do something non-trivial only for German. For everyone
else, it is equivalent to strdup(). So, we will check if  the substitution
tables are trivial at the load time, and possibly save 2 calls to
__collate_substitute() in strcoll().

Still, __collate_substitute() should not exist.
1999-09-12 21:15:28 +00:00
Mike Pritchard ba79fc6822 Add $FreeBSD$ lines to man pages that are missing them to make
it easier for translation teams.

PR:		docs/13418
Submitted by:	Alexey Zelkin <[email protected]>
1999-08-28 23:04:49 +00:00
Peter Wemm 7f3dea244c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Mike Pritchard 74804d58a0 Various man page cleanup:
- Sort xrefs
- FreeBSD.ORG -> FreeBSD.org
- Be consistent with section names as outlines in mdoc(7)
- Other misc mdoc cleanup.

PR:		doc/13144
Submitted by:	Alexy M. Zelkin <[email protected]>
1999-08-15 09:51:25 +00:00
Warner Losh d64292d252 Use the latest version of these files from OpenBSD.
1) Safty change from casper dik was added to OpenBSD's sources since I
   grabbed them. [email protected]
2) Split up strlcpy to improve efficiency of the common case.
   [email protected]
3) Cleanup of cross references for man page.  {alex,aaron}@openbsd.org

Pointed out by: [email protected]
1999-08-10 05:58:58 +00:00
Warner Losh a41df9e30e Import strl{cat,cpy} from OpenBSD.
Obtained from: OpenBSD
1999-08-10 05:21:31 +00:00
Nik Clayton fbc400a67a Add $Id$, to make it simpler for members of the translation teams to
track.

The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

     .\"    $Id$
     .\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by:            bde
1999-07-12 20:50:10 +00:00
Wes Peters b7edc98010 Fixed a minor style nit in the EXAMPLE section. 1999-07-10 19:18:42 +00:00
Mike Pritchard 49cb735198 Fix a minor style nit in the NAME section. 1999-06-11 16:26:29 +00:00
Mike Pritchard fa91ff2797 Move the description of the strncmp() function from the RETURN VALUES
section to the DESCRIPTION section.

PR: 12133
Submitted by:	Sheldon Hearn <[email protected]>
1999-06-11 16:16:32 +00:00
Bruce Evans a425c38dfd Fixed disordering and duplication of MLINKS in previous commit to
libc/string/Makefile.inc.  psignal.3 doesn't live in libc/string.
1999-05-19 06:32:00 +00:00
Peter Wemm 78121e79aa Add a strsignal(3) (like strerror(3)) for libc compatability with other
systems. NetBSD, Linux, SVR4 etc all have it.
1999-05-18 04:48:58 +00:00
Warner Losh dcb0ae4ed8 More egcs warning fixes:
o use braces to avoid potentially ambiguous else
	o don't default to type int (and also remove a useless register
	  modifier).
	o Use parens around assignment values used as truth values.
	o Remove unused function.

Reviewed by: obrien and chuckr
1999-04-25 22:29:30 +00:00
Guy Helmer 2704b2cb2b Corrected use of backslash escaping in sample code.
PR:		docs/10284
Submitted by:	Alfred Perlstein <[email protected]>
1999-02-27 00:54:40 +00:00
Andrey A. Chernov 7345cf9025 remove BUGS section, now behaviour is predictable enough 1999-02-13 09:57:58 +00:00
Andrey A. Chernov 9cee5c5b5c more words about return value 1999-02-13 00:04:54 +00:00
Andrey A. Chernov e7f6db3ccb re-phrase things a bit 1999-02-12 23:52:29 +00:00
Andrey A. Chernov f0e6ee9f05 fix wrong return result
fix n=0 case
improve manpage
1999-02-12 23:40:41 +00:00
John Polstra 83068b622c Install man page link for strtok_r. 1999-01-19 23:45:48 +00:00
John Polstra 32150a6766 Spell check and minor grammar fix. 1999-01-19 23:42:44 +00:00
Wes Peters b1e12513fa Reviewed by: JKH
Submitted by:	Wes Peters

Added strtok_r (reentrant) function and man page.
1998-12-14 05:11:26 +00:00
Robert Nordier 4a3bc52a9c (Whoops: make it better instead of worse this time). Clarify
processing of the string argument by perror().
1998-10-29 22:08:59 +00:00
Robert Nordier 94cc971811 Clarify processing of the string argument by perror(). 1998-10-29 21:59:38 +00:00
Andrey A. Chernov 0ea569ff6f Fix handling more than 1 char with non-C locale
Misc. cleanup
PR: 6825
Submitted by: Sergey Gershtein <[email protected]>
1998-06-05 09:49:51 +00:00
John Birrell adaa81ba92 Cast a pointer to a long, not an int before masking it. 1998-05-10 21:22:47 +00:00
James Raynard 66c15901aa Pedantry (NULL -> NUL). 1998-05-03 22:42:45 +00:00
John Birrell 0107877e04 Change MACHINE references to MACHINE_ARCH. 1998-02-20 08:23:55 +00:00
Daniel O'Callaghan 38ce39bde5 PR: 5573
Submitted by:	[email protected]
Add strncasecmp, strncmp to NAME field.
1998-01-27 07:01:09 +00:00