diff options
Diffstat (limited to 'man3/strdup.3')
-rw-r--r-- | man3/strdup.3 | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/man3/strdup.3 b/man3/strdup.3 index 3e338b4f9..5fa6dbc3a 100644 --- a/man3/strdup.3 +++ b/man3/strdup.3 @@ -28,7 +28,7 @@ Standard C library .P .RS -4 Feature Test Macro Requirements for glibc (see -.BR feature_test_macros (7)): +.MR feature_test_macros 7 ): .RE .P .BR strdup (): @@ -60,9 +60,9 @@ is a duplicate of the string .IR s . Memory for the new string is obtained with -.BR malloc (3), +.MR malloc 3 , and can be freed with -.BR free (3). +.MR free 3 . .P The .BR strndup () @@ -81,7 +81,7 @@ bytes are copied, and a terminating null byte (\[aq]\e0\[aq]) is added. and .BR strndupa () are similar, but use -.BR alloca (3) +.MR alloca 3 to allocate the buffer. .SH RETURN VALUE On success, the @@ -97,7 +97,7 @@ set to indicate the error. Insufficient memory available to allocate duplicate string. .SH ATTRIBUTES For an explanation of the terms used in this section, see -.BR attributes (7). +.MR attributes 7 . .TS allbox; lbx lb lb @@ -136,10 +136,10 @@ POSIX.1-2008. .BR strndupa () GNU. .SH SEE ALSO -.BR alloca (3), -.BR calloc (3), -.BR free (3), -.BR malloc (3), -.BR realloc (3), -.BR string (3), -.BR wcsdup (3) +.MR alloca 3 , +.MR calloc 3 , +.MR free 3 , +.MR malloc 3 , +.MR realloc 3 , +.MR string 3 , +.MR wcsdup 3 |