OSDN Git Service

長音記号の修正を release に反映
[linuxjm/LDP_man-pages.git] / release / man3 / wcsdup.3
index f2c263a..4930a26 100644 (file)
@@ -1,77 +1,75 @@
 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
 .\"
+.\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
 .\" This is free documentation; you can redistribute it and/or
 .\" modify it under the terms of the GNU General Public License as
 .\" published by the Free Software Foundation; either version 2 of
 .\" the License, or (at your option) any later version.
+.\" %%%LICENSE_END
 .\"
 .\" References consulted:
 .\"   GNU glibc-2 source code and manual
 .\"   Dinkumware C library reference http://www.dinkumware.com/
 .\"   OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
 .\"
-.\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.\"
 .\" Translated Mon Oct 18 22:36:21 JST 1999
 .\"         by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
 .\" Updated & Modified Sun Jun  6 13:23:46 JST 2004
 .\"         by Yuichi SATO <ysato444@yahoo.co.jp>
+.\" Updated 2013-07-22, Akihiro MOTOKI <amotoki@gmail.com>
 .\"
-.TH WCSDUP 3  2010-09-15 "GNU" "Linux Programmer's Manual"
-.SH Ì¾Á°
-wcsdup \- ¥ï¥¤¥Éʸ»úʸ»úÎó¤òÊ£À½¤¹¤ë
-.SH ½ñ¼°
+.TH WCSDUP 3 2013\-04\-19 GNU "Linux Programmer's Manual"
+.SH 名前
+wcsdup \- ワイド文字文字列を複製する
+.SH 書式
 .nf
-.B #include <wchar.h>
+\fB#include <wchar.h>\fP
 .sp
-.BI "wchar_t *wcsdup(const wchar_t *" s );
+\fBwchar_t *wcsdup(const wchar_t *\fP\fIs\fP\fB);\fP
 .fi
 .sp
 .in -4n
-glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
-.RB ( feature_test_macros (7)
-»²¾È):
+glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
 .in
 .sp
-.BR wcsdup ():
+\fBwcsdup\fP():
 .PD 0
 .ad l
 .RS 4
-.TP 4
-glibc 2.10 °Ê¹ß:
+.TP  4
+glibc 2.10 以降:
 _XOPEN_SOURCE\ >=\ 700 || _POSIX_C_SOURCE\ >=\ 200809L
-.TP
-glibc 2.10 ¤è¤êÁ°:
+.TP 
+glibc 2.10 より前:
 _GNU_SOURCE
 .RE
 .ad
 .PD
-.SH ÀâÌÀ
-.BR wcsdup ()
-´Ø¿ô¤Ï¡¢
-.BR strdup (3)
-´Ø¿ô¤Î¥ï¥¤¥Éʸ»úÈǤǤ¢¤ë¡£
-¤³¤Î´Ø¿ô¤Ï¥Ý¥¤¥ó¥¿ \fIs\fP ¤¬»Ø¤·¼¨¤¹¥ï¥¤¥Éʸ»úʸ»úÎó¤ÎÊ£À½¤ò
-¿·¤·¤¤Îΰè¤Ë³ä¤êÅö¤Æ¤ÆÊÖ¤¹¡£
+.SH 説明
+\fBwcsdup\fP()  関数は、 \fBstrdup\fP(3)  関数のワイド文字版である。 この関数はポインター \fIs\fP
+が指し示すワイド文字文字列の複製を 新しい領域に割り当てて返す。
 .PP
-¿·¤·¤¤¥ï¥¤¥Éʸ»úʸ»úÎó¤Î¤¿¤á¤Î¥á¥â¥ê¤Ï
-.BR malloc (3)
-¤ò»È¤Ã¤Æ³ä¤êÅö¤Æ¤é¤ì¤ë¡£
-¤³¤ÎÎΰè¤Ï
-.BR free (3)
-¤ò»È¤Ã¤Æ²òÊü¤¹¤Ù¤­¤Ç¤¢¤ë¡£
-.SH ÊÖ¤êÃÍ
-.BR wcsdup ()
-´Ø¿ô¤Ï¡¢¿·¤·¤¤¥ï¥¤¥Éʸ»úʸ»úÎó¤Ø¤Î¥Ý¥¤¥ó¥¿¤òÊÖ¤¹¡£
-½½Ê¬¤Ê¥á¥â¥ê¤¬¤Ê¤±¤ì¤Ð NULL ¤òÊÖ¤¹¡£
-.SH ¥¨¥é¡¼
-.TP
-.B ENOMEM
-Ê£À½Ê¸»úÎó¤ò³ä¤êÅö¤Æ¤ë¤Î¤Ë½½Ê¬¤Ê¥á¥â¥ê¤¬¤Ê¤¤¡£
-.SH ½àµò
-POSIX.1-2008.
-¤³¤Î´Ø¿ô¤Ï POSIX.1-2001 ¤Ç¤Ïµ¬Äꤵ¤ì¤Æ¤¤¤Ê¤¤¤¬¡¢
-Linux °Ê³°¤Î¾¤Î¥·¥¹¥Æ¥à¤Ç¹­¤¯ÍøÍѲÄǽ¤Ç¤¢¤ë¡£
-.\" libc5 ¤È glibc 2.0 ¤È¤½¤ì°Ê¹ß¤Ë¸ºß¤¹¤ë¡£
-.SH ´ØÏ¢¹àÌÜ
-.BR strdup (3),
-.BR wcscpy (3)
+新しいワイド文字文字列のためのメモリーは \fBmalloc\fP(3)  を使って割り当てられる。 この領域は \fBfree\fP(3)
+を使って解放すべきである。
+.SH 返り値
+成功すると、 \fBwcsdup\fP()  関数は、新しいワイド文字文字列へのポインターを返す。 エラーの場合、 \-1 が返り、 \fIerrno\fP
+にエラーの原因を示す値が設定される。
+.SH エラー
+.TP 
+\fBENOMEM\fP
+複製文字列を割り当てるのに十分なメモリーがない。
+.SH 準拠
+.\" present in libc5 and glibc 2.0 and later
+POSIX.1\-2008.  この関数は POSIX.1\-2001 では規定されていないが、 Linux 以外の他のシステムで広く利用可能である。
+.SH 関連項目
+\fBstrdup\fP(3), \fBwcscpy\fP(3)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.78 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。