diff options
Diffstat (limited to 'man3/wcsdup.3')
-rw-r--r-- | man3/wcsdup.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/wcsdup.3 b/man3/wcsdup.3 index ade46e81..8ad5acc5 100644 --- a/man3/wcsdup.3 +++ b/man3/wcsdup.3 @@ -22,14 +22,14 @@ 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 +The \fBwcsdup\fP() function is the wide-character equivalent of the \fBstrdup\fP 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). .SH "RETURN VALUE" -The \fBwcsdup\fP function returns a pointer to the new wide-character string, +The \fBwcsdup\fP() function returns a pointer to the new wide-character string, or NULL if sufficient memory was not available. .SH ERRORS .TP |