summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strdup.3 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Phrase allocation failure more clearly. ok deraadt@mmcc2015-12-011-3/+3
|
* Since deraadt@ remembers seeing strdup() on one particular 4.2BSD machine,schwarze2014-10-111-4/+11
| | | | | | | | | | | i looked a bit closer and found instances before Reno, so correct HISTORY. References: http://minnie.tuhs.org/cgi-bin/utree.pl?file=4.1cBSD/usr/src/ucb/dbx/defs.h http://minnie.tuhs.org/cgi-bin/utree.pl?file=4.3BSD/usr/src/etc/inetd.c http://minnie.tuhs.org/cgi-bin/utree.pl?file=4.3BSD-Reno/src/lib/libc/string/strdup.c ok deraadt@
* Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarzetedu2013-06-051-3/+3
|
* strdup and strndup both use malloc. Make this fact explicit.lum2011-12-081-3/+5
| | | | ok jmc@
* update HISTORY and SEE ALSO for all of string(3), together with variousschwarze2011-07-251-9/+10
| | | | | smaller improvements; jmc@ and nicm@ both ask me to get this in because further tweaking will be easier in-tree
* tweak previous;jmc2010-05-191-10/+9
|
* add posix_madvise, posix_memalign, strndup, and strnlen. mostly fromtedu2010-05-181-3/+28
| | | | | brad and millert, with hints from guenther, jmc, and otto I think. ok previous.
* Modify example not to use an assignment in the if statement. We shouldn'tkettenis2010-03-241-3/+4
| | | | | | teach people bad habits! ok krw@, jmc@, dlg@, thib@
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* Be correct in our man pages when talking about NUL termination (that is,cloder2005-02-251-2/+2
| | | | | termination with '\0') vs. null termination. Input from krw@, jaredy@, jmc@. OK deraadt@
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Xr to strlcpy and strlcat more; ok millertderaadt2003-04-071-1/+2
|
* Add ERRORS section (the strdup(3) function may fail and set errno to any of theaaron2000-04-211-1/+8
| | | | errors specified by the library routine malloc(3)).
* Check return value of strdup(3) for NULL in example code (duh).aaron2000-04-211-2/+5
|
* Flesh out libc string function man pages.aaron2000-04-211-6/+3
|
* some repairs, add example to strdup(3) pageaaron1999-06-041-4/+16
|
* commaspjanzen1998-08-191-4/+4
|
* use Bx macro for BSD versionsmickey1998-06-151-2/+3
|
* Update man page and sccs tags from lite2. Minor cleanup by me as well.millert1997-08-201-10/+13
|
* typo.michaels1996-10-291-2/+2
|
* Fix RCS idstholo1996-08-191-2/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* initial import of NetBSD treederaadt1995-10-181-0/+65