aboutsummaryrefslogtreecommitdiffstats
path: root/man3/wcsdup.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-05-12 09:06:04 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-05-12 09:06:04 +0000
commit60a90ecdae7bf6d1a91dc5d1d7177e400b114e47 (patch)
tree9f7c19a897084607a9688be5414d0d4cd6391b54 /man3/wcsdup.3
parentd92a60f2575c95cd532b822e4fb983c3a9e35641 (diff)
downloadman-pages-60a90ecdae7bf6d1a91dc5d1d7177e400b114e47.tar.gz
Convert function formatting of the form "\fBname\fP()" to ".BR name ()".
Diffstat (limited to 'man3/wcsdup.3')
-rw-r--r--man3/wcsdup.319
1 files changed, 14 insertions, 5 deletions
diff --git a/man3/wcsdup.3 b/man3/wcsdup.3
index 7f2049918a..370a3b9614 100644
--- a/man3/wcsdup.3
+++ b/man3/wcsdup.3
@@ -22,16 +22,25 @@ wcsdup \- duplicate a wide-character string
.BI "wchar_t *wcsdup(const wchar_t *" s );
.fi
.SH DESCRIPTION
-The \fBwcsdup\fP() function is the wide-character equivalent
-of the \fBstrdup\fP(3) function.
+The
+.BR wcsdup ()
+function is the wide-character equivalent
+of the
+.BR strdup (3)
+function.
It allocates and returns a new wide-character string whose initial
contents is a duplicate of the wide-character string pointed to by \fIs\fP.
.PP
Memory for the new wide-character string is
-obtained with \fBmalloc\fP(3), and
-can be freed with \fBfree\fP(3).
+obtained with
+.BR malloc (3),
+and
+can be freed with
+.BR free (3).
.SH "RETURN VALUE"
-The \fBwcsdup\fP() function returns a pointer
+The
+.BR wcsdup ()
+function returns a pointer
to the new wide-character string,
or NULL if sufficient memory was not available.
.SH ERRORS