From af0fd29ae5cc16bd1de2765ed53eff36166ea150 Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Tue, 13 Dec 1988 04:44:42 -0800 Subject: [PATCH 1/1] add strdup SCCS-vsn: lib/libc/stdio/tmpnam.3 5.8 --- usr/src/lib/libc/stdio/tmpnam.3 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.20.1