Annotated edit history of
wcsdup(3) version 1 showing authors affecting page license.
View with all changes included.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
WCSDUP |
|
|
2 |
!!!WCSDUP |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
RETURN VALUE |
|
|
7 |
CONFORMING TO |
|
|
8 |
SEE ALSO |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
wcsdup - duplicate a wide-character string |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
__#include |
|
|
18 |
__''s''__); |
|
|
19 |
__ |
|
|
20 |
!!DESCRIPTION |
|
|
21 |
|
|
|
22 |
|
|
|
23 |
The __wcsdup__ function is the wide-character equivalent |
|
|
24 |
of the __strdup__ function. It allocates and returns a |
|
|
25 |
new wide-character string whose initial contents is a |
|
|
26 |
duplicate of the wide-character string pointed to by |
|
|
27 |
''s''. |
|
|
28 |
|
|
|
29 |
|
|
|
30 |
Memory for the new wide-character string is obtained with |
|
|
31 |
malloc(3), and can be freed with |
|
|
32 |
free(3). |
|
|
33 |
!!RETURN VALUE |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
The __wcsdup__ function returns a pointer to the new |
|
|
37 |
wide-character string, or NULL if sufficient memory was not |
|
|
38 |
available. |
|
|
39 |
!!CONFORMING TO |
|
|
40 |
|
|
|
41 |
|
|
|
42 |
This function is a GNU extension. |
|
|
43 |
!!SEE ALSO |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
strdup(3), wcscpy(3) |
|
|
47 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.