summaryrefslogtreecommitdiff
path: root/lib/libc/string
AgeCommit message (Collapse)Author
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-12-08when strerror() has an Unknown error, also set EINVALTheo de Raadt
2001-11-212nd param is constTheo de Raadt
2001-09-07K&R promotion is not the whole story. Make things explicit.Marc Espie
2001-09-05make debug libs build againMichael Shalayeff
2001-08-06o) We always close .Bl and .Bd tags;Mike Pechkin
o) .Sh AUTHOR -> .Sh AUTHORS; o) We don't like .Pp before/after .Sh; o) We don't like .Pp before/after .Rs/.Re; o) NetBSD -> .Nx; o) OpenBSD -> .Ox; millert@ ok
2001-07-29Minor style pedentry from ben@arbor.net plus some of my own and syncTodd C. Miller
libkern and libc versions.
2001-06-27use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok.lebel
2001-06-23more .%A handling; bk@rt.fmTheo de Raadt
2001-06-18Clarify that if strlcat() does not find a NUL within siz byte itTodd C. Miller
will not NUL terminate either.
2001-06-14Fix a buf oflow in EXAMPLES code; millert@ okAaron Campbell
2001-05-13type of function on seperate lineTheo de Raadt
2001-05-07Document boundary condition when size < strlen(dst).Todd C. Miller
2001-05-07Back out last change, it is intended behavior and update the blockTodd C. Miller
comment to reflect this fact. Too early in the morning for me I guess.
2001-05-07strlcat() should return strlen(dst) + strlen(src) when size parameterTodd C. Miller
<= strlen(dst). Bug report by mark.murnane@ireland.sun.com via the GNOME folks.
2001-01-13Sync function comment with man page; fanf@covalent.netTodd C. Miller
2001-01-12Reverse the order of two loop invariant to make 'strlcat(0, "foo", 0)'Todd C. Miller
not get a SEGV; Richard Kettlewell <rjk@greenend.org.uk>
2000-11-24comment fix; strlcat returns strlen(initial dst) + strlen(src).Jun-ichiro itojun Hagino
2000-11-16"of", not "on" (from Henric Jungheim)Angelos D. Keromytis
2000-11-06The constant's name is MAXPATHLEN, not MAXPATHNAMELEN; closes PR/1491.Aaron Campbell
From ianm@kashmir.cit.nepean.uws.edu.au.
2000-10-23Document that the string returned by strerror(3) contains a maximum ofAaron Campbell
NL_TEXTMAX characters.
2000-10-18Another round of man page cleanup, this time to remove more hard sentenceAaron Campbell
breaks and getting rid of short lines, making these files easier to work with.
2000-08-09More of the same.Aaron Campbell
2000-08-09Remove trailing blank lines.Aaron Campbell
2000-07-02knf; ouch, that hurtsMichael Shalayeff
2000-07-02new version of ffs from drahn@Michael Shalayeff
combines binary search and table lookup. tested on i386, sparc, ppc, hppa
2000-06-01State explicitly that strlc{py,at} only work on real C strings.Todd C. Miller
Clarify point about always NUL-terminating.
2000-04-24correct exampleTheo de Raadt
2000-04-21Add ERRORS section (the strdup(3) function may fail and set errno to any of theAaron Campbell
errors specified by the library routine malloc(3)).
2000-04-21Check return value of strdup(3) for NULL in example code (duh).Aaron Campbell
2000-04-21Flesh out libc string function man pages.Aaron Campbell
2000-03-04In Unix land we prefer "whitespace" to "white space" or "white-space". AtAaron Campbell
least, this is the impression I get from looking at a lot of Perl docs.
2000-02-29Use Dq/Sq and friends.Aaron Campbell
2000-01-03Grammar; deraadt@Aaron Campbell
1999-11-14Clean up memchr slightly to better match coming memrchrMarc Espie
(K&R-style type promotions are evil),
1999-11-09Install man-page links for strtok_r.Artur Grabowski
1999-11-09Document strtok_r.Artur Grabowski
1999-11-09Implement strtok_r.Artur Grabowski
1999-09-21index/rindex as deprecated synonyms to strchr/strrchr.Marc Espie
1999-09-04Using .Li inside a .Bd -literal block messes up the fonts thereafter;Paul Janzen
.Li ... -> \&...
1999-07-04better wordingAaron Campbell
1999-07-03whoops, fix a bug in my example :)Aaron Campbell
1999-07-03add an exampleAaron Campbell
1999-06-29repairsAaron Campbell
1999-06-29new mdoc bm(3) man pageAaron Campbell
1999-06-17When finding the end of dst, never traverse more than siz bytes. ThisTodd C. Miller
keeps us from misbehaving if the user gives us a src string that is not NUL-terminated. This is one of those "should not happen" cases but it is good to play it safe. Pointed out by Casper Dik <casper@holland.sun.com>
1999-06-06some NAME section cleanupAaron Campbell
1999-06-06Grammatical, spelling, and format fixesPaul Janzen
1999-06-04some repairs, add example to strdup(3) pageAaron Campbell
1999-06-04add examplesAaron Campbell