summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strlcpy.3 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* I am retiring my old email address; replace it with my OpenBSD one.millert2019-01-251-4/+4
|
* Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN,millert2013-09-301-4/+4
| | | | MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@
* According to POSIX, if the src and dst strings overlap, the behaviormillert2013-09-251-2/+8
| | | | is undefined. Add a warning to that effect. OK deraadt@ jmc@
* use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@schwarze2013-07-161-3/+3
|
* Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarzetedu2013-06-051-3/+3
|
* tweak previous;jmc2012-04-031-3/+3
|
* simplify the strlcpy/strlcat manual page substantially. do lessderaadt2012-04-021-70/+58
| | | | | | | | | | | | explaining of "what a C string is", and make it more clear that these functiosn BEHAVE EXACTLY LIKE snprintf with "%s"! (anyone who wants to write a 'strlcpy considered harmful' paper should probably write a 'strlcpy and snprintf considered harmful' paper instead). note to those from other projects reading this commit message: It would be very good if this new manual was picked up in your project. ok jmc millert krw
* update HISTORY and SEE ALSO for all of string(3), together with variousschwarze2011-07-251-3/+11
| | | | | smaller improvements; jmc@ and nicm@ both ask me to get this in because further tweaking will be easier in-tree
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* add HISTORY; ok jmcjaredy2005-08-061-1/+8
|
* - macro, punctuation, and rewording tweaksjaredy2005-08-061-6/+6
| | | | | | - avoid first person. ok jmc
* Sync with share/misc/license.template and add missing DARPA creditmillert2003-06-171-8/+8
| | | | where applicable.
* Change copyright to a less restrictive ISC-style license to encouragemillert2003-04-121-22/+11
| | | | people to bundle this code.
* Initial cleanup:mpech2002-04-301-2/+2
| | | | | | | | | | | | o) remove extra space in the end of line; o) remove extra blank lines in the end of file; o) remove .Pp before .Ss; o) CAVEAT -> CAVEATS; o) fix usage of .Fa; o) <blank-line> -> .Pp; o) wrap long lines; millert@ ok
* Clarify that if strlcat() does not find a NUL within siz byte itmillert2001-06-181-2/+4
| | | | will not NUL terminate either.
* Document boundary condition when size < strlen(dst).millert2001-05-071-1/+20
|
* "of", not "on" (from Henric Jungheim)angelos2000-11-161-2/+2
|
* The constant's name is MAXPATHLEN, not MAXPATHNAMELEN; closes PR/1491.aaron2000-11-061-3/+3
| | | | From ianm@kashmir.cit.nepean.uws.edu.au.
* Another round of man page cleanup, this time to remove more hard sentenceaaron2000-10-181-2/+3
| | | | breaks and getting rid of short lines, making these files easier to work with.
* State explicitly that strlc{py,at} only work on real C strings.millert2000-06-011-3/+22
| | | | Clarify point about always NUL-terminating.
* Flesh out libc string function man pages.aaron2000-04-211-5/+7
|
* Using .Li inside a .Bd -literal block messes up the fonts thereafter;pjanzen1999-09-041-4/+4
| | | | .Li ... -> \&...
* some NAME section cleanupaaron1999-06-061-2/+2
|
* Cleanup xrefs under SEE ALSO. Specifically:alex1999-05-161-3/+3
| | | | | | | - Sort xrefs by section, and then alphabetically. - Add missing commas between xref items. - Remove commas from the last xref entry. - Remove duplicate entries.
* Fix `typo', proves that strlcpy/strlcat is a very good idea.espie1998-11-111-2/+9
|
* strlxx() return size_t not char *millert1998-07-061-3/+3
|
* add strlcpy/strlcat, safe and sensible string copy/appendmillert1998-07-011-0/+140