1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
8 .\" References consulted:
9 .\" GNU glibc-2 source code and manual
10 .\" Dinkumware C library reference http://www.dinkumware.com/
11 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
13 .\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
14 .\" Translated Mon Oct 18 22:36:21 JST 1999
15 .\" by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
16 .\" Updated & Modified Sun Jun 6 13:23:46 JST 2004
17 .\" by Yuichi SATO <ysato444@yahoo.co.jp>
19 .TH WCSDUP 3 2010-09-15 "GNU" "Linux Programmer's Manual"
22 .\"O wcsdup \- duplicate a wide-character string
23 wcsdup \- ワイド文字文字列を複製する
29 .BI "wchar_t *wcsdup(const wchar_t *" s );
33 .\"O Feature Test Macro Requirements for glibc (see
34 .\"O .BR feature_test_macros (7)):
36 .RB ( feature_test_macros (7)
45 .\"O Since glibc 2.10:
47 _XOPEN_SOURCE\ >=\ 700 || _POSIX_C_SOURCE\ >=\ 200809L
49 .\"O Before glibc 2.10:
59 .\"O function is the wide-character equivalent
63 .\"O It allocates and returns a new wide-character string whose initial
64 .\"O contents is a duplicate of the wide-character string pointed to by \fIs\fP.
69 この関数はポインタ \fIs\fP が指し示すワイド文字文字列の複製を
72 .\"O Memory for the new wide-character string is
75 .\"O and should be freed with
83 .\"O .SH "RETURN VALUE"
87 .\"O function returns a pointer
88 .\"O to the new wide-character string,
89 .\"O or NULL if sufficient memory was not available.
91 関数は、新しいワイド文字文字列へのポインタを返す。
97 .\"O Insufficient memory available to allocate duplicate string.
98 複製文字列を割り当てるのに十分なメモリがない。
99 .\"O .SH "CONFORMING TO"
102 .\"O This function is not specified in POSIX.1-2001,
103 .\"O and is not widely available on other systems.
104 この関数は POSIX.1-2001 では規定されていないが、
105 Linux 以外の他のシステムで広く利用可能である。
106 .\"O .\" present in libc5 and glibc 2.0 and later
107 .\" libc5 と glibc 2.0 とそれ以降に存在する。