aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/string
Commit message (Collapse)AuthorAgeFilesLines
* MFC 1.7: suggest using memmove(3) if src and dst may overlap.Dima Dorfman2002-02-111-2/+7
| | | | Notes: svn path=/stable/4/; revision=90501
* MFC: Clarify that if strlcat() does not find a NUL within siz byteYaroslav Tykhiy2002-01-191-0/+21
| | | | | | | | | | it will not NUL terminate either. Document boundary condition when size < strlen(dst). Approved by: re Notes: svn path=/stable/4/; revision=89559
* MFC: add strcasestr()Andrey A. Chernov2001-12-252-2/+11
| | | | Notes: svn path=/stable/4/; revision=88464
* MFC man page links for strerror_r.Wes Peters2001-12-201-0/+1
| | | | | | | Obtained from: mike@ Notes: svn path=/stable/4/; revision=88250
* MFC strerror_r implementation.Wes Peters2001-12-202-24/+143
| | | | Notes: svn path=/stable/4/; revision=88248
* MFC: Reduce gratuitous diffs to -CURRENT.Ruslan Ermilov2001-12-1433-34/+34
| | | | Notes: svn path=/stable/4/; revision=87904
* MFC:Mike Barcroft2001-12-092-13/+65
| | | | | | | | | o Add new libc function strnstr(). o Sync strstr(3) manual with -CURRENT (except for strcasestr() documentation). Notes: svn path=/stable/4/; revision=87549
* MFC: Increment the loop counter.Dag-Erling Smørgrav2001-11-271-0/+1
| | | | Notes: svn path=/stable/4/; revision=86971
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2001-11-152-0/+137
| | | | Notes: svn path=/stable/4/; revision=86378
* MFC Rev 1.10Mike Barcroft2001-10-151-2/+9
| | | | | | | | | | | Note that strncmp() will not compare characters after a NUL character. Add a missing word. Bump document date. MFC Rev 1.9 mdoc(7) police: Use the new .In macro for #include statements. Notes: svn path=/stable/4/; revision=85000
* MFC: markup and misc fixes.Ruslan Ermilov2001-08-177-9/+10
| | | | | | | Approved by: re Notes: svn path=/stable/4/; revision=81834
* MFC Rev 1.10:Mike Barcroft2001-08-131-12/+52
| | | | | | | | | | | | | | | | | | o Various mdoc fixes. o Replace strncpy examples with less confusing ones from OpenBSD. These examples give more detail and also suggest using strlcpy(3). MFC Rev 1.8: mdoc(7) police: Add strncpy() to the NAME section. MFC Rev 1.7: mdoc(7) police: remove HISTORY info from the .Os call. Approved by: murray Notes: svn path=/stable/4/; revision=81568
* MFC 1.9: don't claim that strncpy() is the same as strcpy().Dima Dorfman2001-07-231-6/+6
| | | | Notes: svn path=/stable/4/; revision=80192
* MFC: remove whitespace at EOL.Dima Dorfman2001-07-227-10/+10
| | | | Notes: svn path=/stable/4/; revision=80145
* MFC: locale insensitive wcs* and wmem* functionsDavid E. O'Brien2001-07-111-3/+16
| | | | Notes: svn path=/stable/4/; revision=79602
* Add rcsid[]'s.David E. O'Brien2001-07-0932-12/+137
| | | | Notes: svn path=/stable/4/; revision=79497
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2001-05-2721-0/+1283
| | | | Notes: svn path=/stable/4/; revision=77283
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2001-05-201-0/+145
| | | | Notes: svn path=/stable/4/; revision=76914
* MFC: (rev 1.8) Add RETURN VALUES section.Ruslan Ermilov2001-05-141-8/+13
| | | | Notes: svn path=/stable/4/; revision=76585
* MFC: MAN[1-9] -> MAN.Ruslan Ermilov2001-04-251-1/+1
| | | | Notes: svn path=/stable/4/; revision=75949
* MFC: recent mdoc(7) fixes.Ruslan Ermilov2001-03-0622-28/+33
| | | | Notes: svn path=/stable/4/; revision=73888
* MFC: 1.8: clarify comments referring to strlcat() usageDavid E. O'Brien2001-03-051-1/+22
| | | | Notes: svn path=/stable/4/; revision=73717
* MFC: 1.3David E. O'Brien2001-03-051-3/+6
| | | | | | | | | - 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 Notes: svn path=/stable/4/; revision=73716
* MFC: MAXPATHNAMELEN -> MAXPATHLENKris Kennaway2001-02-181-1/+1
| | | | Notes: svn path=/stable/4/; revision=72604
* MFC: mdoc(7) police: Ft/Vt now accept punctuation-type arguments.Ruslan Ermilov2001-01-121-2/+2
| | | | Notes: svn path=/stable/4/; revision=70976
* MFC: Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-291-3/+3
| | | | Notes: svn path=/stable/4/; revision=70483
* MFC: removed history info from the .Os FreeBSD call.Ruslan Ermilov2000-12-141-1/+1
| | | | Notes: svn path=/stable/4/; revision=70016
* MFC: recent mdoc(7) fixes.Ruslan Ermilov2000-12-082-3/+3
| | | | Notes: svn path=/stable/4/; revision=69764
* MFC: Drop index(3) and rindex(3) from SEE ALSO.Alexander Langer2000-07-189-18/+0
| | | | Notes: svn path=/stable/4/; revision=63398
* MFC: Add SEE ALSOAlexander Langer2000-07-171-0/+11
| | | | Notes: svn path=/stable/4/; revision=63323
* MFC: introduce .Lb macro to libc manpagesAlexey Zelkin2000-04-2234-0/+68
| | | | Notes: svn path=/stable/4/; revision=59521
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-021-1/+2
| | | | | | | | 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
* Grammar: "be even number" -> "be an even number"Bill Fumerola2000-01-031-1/+1
| | | | Notes: svn path=/head/; revision=55354
* Backout the prev. commit. It's a bad idea to make-up terms. I believeTim Vanderhoek1999-12-312-3/+3
| | | | | | | | | there is no good solution here. Set-on-the-straight-and-narrow by: bde Notes: svn path=/head/; revision=55287
* Add ".Xref tolower 3" since its internal use is inferred in DESCRIPTION.Tim Vanderhoek1999-12-281-1/+2
| | | | Notes: svn path=/head/; revision=55185
* Avoid the potentially confusing term "a null pointer" and say "the NULLTim Vanderhoek1999-12-282-3/+3
| | | | | | | | | | 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. Notes: svn path=/head/; revision=55184
* Remove x-ref to itself.Bill Fumerola1999-12-141-1/+0
| | | | | | | Reviewed by: mpp Notes: svn path=/head/; revision=54598
* Add HISTORY.David E. O'Brien1999-10-291-0/+8
| | | | Notes: svn path=/head/; revision=52629
* Xref strlcat, strlcpyWarner Losh1999-09-282-2/+5
| | | | | | | Inspired by: NetBSD commit message describing this. Notes: svn path=/head/; revision=51743
* __collate_substitute() do something non-trivial only for German. For everyoneDmitrij Tejblum1999-09-121-3/+10
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=51216
* Add $FreeBSD$ lines to man pages that are missing them to makeMike Pritchard1999-08-281-0/+2
| | | | | | | | | | it easier for translation teams. PR: docs/13418 Submitted by: Alexey Zelkin <phantom@cris.net> Notes: svn path=/head/; revision=50532
* $Id$ -> $FreeBSD$Peter Wemm1999-08-2836-36/+36
| | | | Notes: svn path=/head/; revision=50476
* Various man page cleanup:Mike Pritchard1999-08-151-5/+6
| | | | | | | | | | | | | - 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 <phantom@cris.net> Notes: svn path=/head/; revision=49828
* Use the latest version of these files from OpenBSD.Warner Losh1999-08-103-21/+26
| | | | | | | | | | | | | 1) Safty change from casper dik was added to OpenBSD's sources since I grabbed them. milltert@openbsd.org 2) Split up strlcpy to improve efficiency of the common case. milltert@openbsd.org 3) Cleanup of cross references for man page. {alex,aaron}@openbsd.org Pointed out by: deraadt@openbsd.org Notes: svn path=/head/; revision=49594
* Import strl{cat,cpy} from OpenBSD.Warner Losh1999-08-104-6/+289
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=49593
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-1230-0/+30
| | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=48794
* Fixed a minor style nit in the EXAMPLE section.Wes Peters1999-07-101-1/+1
| | | | Notes: svn path=/head/; revision=48740
* Fix a minor style nit in the NAME section.Mike Pritchard1999-06-111-1/+1
| | | | Notes: svn path=/head/; revision=47881
* Move the description of the strncmp() function from the RETURN VALUESMike Pritchard1999-06-111-6/+6
| | | | | | | | | | section to the DESCRIPTION section. PR: 12133 Submitted by: Sheldon Hearn <sheldonh@uunet.co.za> Notes: svn path=/head/; revision=47879
* Fixed disordering and duplication of MLINKS in previous commit toBruce Evans1999-05-191-2/+1
| | | | | | | libc/string/Makefile.inc. psignal.3 doesn't live in libc/string. Notes: svn path=/head/; revision=47320