summaryrefslogtreecommitdiff
path: root/lib/libc/string
Commit message (Collapse)AuthorAgeFilesLines
* .St -ansiC -> .St -isoCRuslan Ermilov2001-02-2621-21/+21
| | | | Notes: svn path=/head/; revision=73088
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-015-7/+9
| | | | Notes: svn path=/head/; revision=71895
* Clarify comments referring to strlcat() usageChris D. Faulhaber2001-01-171-1/+22
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=71192
* - Reverse the order of two loop invariant to ensure strlcat() does notChris D. Faulhaber2001-01-171-3/+6
| | | | | | | | | | | | | attempt to read memory when siz is 0 - Clarify comments referring to strlcat() usage PR: 24278, 24295 Submitted by: Tony Finch <dot@dotat.at> Richard Kettlewell <rjk@greenend.org.uk> Reviewed by: -audit Notes: svn path=/head/; revision=71191
* mdoc(7) police: Ft/Vt now accept punctuation-type arguments.Ruslan Ermilov2001-01-121-2/+2
| | | | Notes: svn path=/head/; revision=70974
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-291-3/+3
| | | | Notes: svn path=/head/; revision=70481
* mdoc(7) police: removed history info from the .Os FreeBSD call.Ruslan Ermilov2000-12-141-1/+1
| | | | Notes: svn path=/head/; revision=70015
* MAXPATHNAMELEN -> MAXPATHLENKris Kennaway2000-11-191-1/+1
| | | | | | | | Submitted by: ianm@kashmir.cit.nepean.uws.edu.au via OpenBSD Obtained from: OpenBSD Notes: svn path=/head/; revision=68896
* mdoc(7) police: use certified section headers wherever possible.Ruslan Ermilov2000-11-172-2/+2
| | | | Notes: svn path=/head/; revision=68854
* Avoid use of direct troff requests in mdoc(7) manual pages.Ruslan Ermilov2000-11-101-1/+1
| | | | Notes: svn path=/head/; revision=68575
* Add:Andrey A. Chernov2000-09-031-0/+3
| | | | | | | The implementation will behave as if no library function calls strtok(). Notes: svn path=/head/; revision=65405
* Drop the references to index(3) and rindex(3), which are non-standardAlexander Langer2000-07-189-18/+0
| | | | | | | | | and people shouldn't be encouraged to use them. Asked by: sheldonh Notes: svn path=/head/; revision=63397
* Add SEE ALSO section, as with the other string functions.Alexander Langer2000-07-171-0/+11
| | | | | | | Submitted by: dcs Notes: svn path=/head/; revision=63320
* Introduce ".Lb" macro to libc manpages.Alexey Zelkin2000-04-2134-0/+68
| | | | | | | More libraries manpages updates following. Notes: svn path=/head/; revision=59460
* 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
* Add a strsignal(3) (like strerror(3)) for libc compatability with otherPeter Wemm1999-05-182-2/+75
| | | | | | | systems. NetBSD, Linux, SVR4 etc all have it. Notes: svn path=/head/; revision=47289
* More egcs warning fixes:Warner Losh1999-04-253-2/+4
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=46079
* Corrected use of backslash escaping in sample code.Guy Helmer1999-02-271-3/+3
| | | | | | | | PR: docs/10284 Submitted by: Alfred Perlstein <bright@cygnus.rush.net> Notes: svn path=/head/; revision=44306
* remove BUGS section, now behaviour is predictable enoughAndrey A. Chernov1999-02-131-2/+0
| | | | Notes: svn path=/head/; revision=43961
* more words about return valueAndrey A. Chernov1999-02-131-1/+5
| | | | Notes: svn path=/head/; revision=43947
* re-phrase things a bitAndrey A. Chernov1999-02-121-4/+5
| | | | Notes: svn path=/head/; revision=43946
* fix wrong return resultAndrey A. Chernov1999-02-122-23/+43
| | | | | | | | fix n=0 case improve manpage Notes: svn path=/head/; revision=43945
* Install man page link for strtok_r.John Polstra1999-01-191-1/+2
| | | | Notes: svn path=/head/; revision=42870
* Spell check and minor grammar fix.John Polstra1999-01-191-3/+3
| | | | Notes: svn path=/head/; revision=42869
* Reviewed by: JKHWes Peters1998-12-142-87/+217
| | | | | | | | | Submitted by: Wes Peters Added strtok_r (reentrant) function and man page. Notes: svn path=/head/; revision=41762
* (Whoops: make it better instead of worse this time). ClarifyRobert Nordier1998-10-291-1/+1
| | | | | | | processing of the string argument by perror(). Notes: svn path=/head/; revision=40735
* Clarify processing of the string argument by perror().Robert Nordier1998-10-291-8/+5
| | | | Notes: svn path=/head/; revision=40734
* Fix handling more than 1 char with non-C localeAndrey A. Chernov1998-06-051-16/+4
| | | | | | | | | Misc. cleanup PR: 6825 Submitted by: Sergey Gershtein <sg@mplik.ru> Notes: svn path=/head/; revision=36665
* Cast a pointer to a long, not an int before masking it.John Birrell1998-05-101-1/+1
| | | | Notes: svn path=/head/; revision=35923
* Pedantry (NULL -> NUL).James Raynard1998-05-031-1/+1
| | | | Notes: svn path=/head/; revision=35655
* Change MACHINE references to MACHINE_ARCH.John Birrell1998-02-201-3/+3
| | | | Notes: svn path=/head/; revision=33668
* PR: 5573Daniel O'Callaghan1998-01-272-2/+4
| | | | | | | | Submitted by: garbanzo@hooked.net Add strncasecmp, strncmp to NAME field. Notes: svn path=/head/; revision=32818