]>
Commit | Line | Data |
---|---|---|
224c7076 A |
1 | --- _SB/Libc/string/FreeBSD/strdup.3 2003-05-20 15:23:54.000000000 -0700 |
2 | +++ _SB/Libc/string/FreeBSD/strdup.3.edit 2006-06-28 16:55:53.000000000 -0700 | |
3 | @@ -43,14 +43,16 @@ | |
4 | .Sh SYNOPSIS | |
5 | .In string.h | |
6 | .Ft char * | |
7 | -.Fn strdup "const char *str" | |
8 | +.Fo strdup | |
9 | +.Fa "const char *s1" | |
10 | +.Fc | |
11 | .Sh DESCRIPTION | |
12 | The | |
13 | .Fn strdup | |
14 | function | |
15 | allocates sufficient memory for a copy | |
16 | of the string | |
17 | -.Fa str , | |
18 | +.Fa s1 , | |
19 | does the copy, and returns a pointer to it. | |
20 | The pointer may subsequently be used as an | |
21 | argument to the function |