From: Keith Bostic Date: Tue, 13 Dec 1988 12:44:42 +0000 (-0800) Subject: add strdup X-Git-Tag: BSD-4_3_Net_1-Snapshot-Development~148 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/af0fd29ae5cc16bd1de2765ed53eff36166ea150?hp=b0a3e41ea95c4424fc075a79b189abfc078aecb5 add strdup SCCS-vsn: lib/libc/stdio/tmpnam.3 5.8 --- diff --git a/usr/src/lib/libc/stdio/tmpnam.3 b/usr/src/lib/libc/stdio/tmpnam.3 index 5d18253cf5..ad1ebf71c8 100644 --- a/usr/src/lib/libc/stdio/tmpnam.3 +++ b/usr/src/lib/libc/stdio/tmpnam.3 @@ -13,13 +13,13 @@ .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED .\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. .\" -.\" @(#)tmpnam.3 5.7 (Berkeley) %G% +.\" @(#)tmpnam.3 5.8 (Berkeley) %G% .\" .TH COMPATS5 3 "" .UC 7 .SH NAME memccpy, memchr, memcmp, memcpy, memset, strchr, -strcspn, strpbrk, strrchr, strspn, tempnam, +strcspn, strdup, strpbrk, strrchr, strspn, tempnam, tmpfile, tmpnam \- System V compatibility routines .SH SYNOPSIS .nf @@ -72,6 +72,8 @@ tmpfile, tmpnam \- System V compatibility routines .B char *tmpnam(str) .B char *str; .PP +.B char *strdup(str) +.B char *str; .SH COMMENT The \fI#defines\fP \fIP_tmpdir\fP and \fIL_tmpnam\fP, used by the routines \fItempnam\fP, \fItmpfile\fP, and \fItmpnam\fP are not available in