1 --- strdup.3.orig 2009-11-30 13:52:20.000000000 -0800
2 +++ strdup.3 2009-11-30 15:13:21.000000000 -0800
7 -.Fn strdup "const char *str"
12 -.Fn strndup "const char *str" "size_t len"
21 allocates sufficient memory for a copy
25 does the copy, and returns a pointer to it.
26 The pointer may subsequently be used as an
27 argument to the function
28 @@ -63,16 +68,15 @@ is set to
31 function copies at most
34 characters from the string
39 terminating the copied string.