X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;ds=sidebyside;f=draft%2Fman3%2Fstrdup.3;h=768935e0242dbe7fb3632c51989c8c05740b8634;hb=4fe824747c7faf385ebddbeea1a89602416484c3;hp=c65cfecd175c370c00d438c6bbf8e3b004d479d1;hpb=9bcf2c2efa91bb5a99391eca7459b6d698214271;p=linuxjm%2FLDP_man-pages.git diff --git a/draft/man3/strdup.3 b/draft/man3/strdup.3 index c65cfecd..768935e0 100644 --- a/draft/man3/strdup.3 +++ b/draft/man3/strdup.3 @@ -88,9 +88,8 @@ _GNU_SOURCE これらが使用できるのは GNU GCC ツール群を使う場合だけであり、 \fBalloca\fP(3) で説明されているのと同じ制限がある。 .SH 返り値 -On success, the \fBstrdup\fP() function returns a pointer to the duplicated -string. It returns NULL if insufficient memory was available, with \fIerrno\fP -set to indicate the cause of the error. +成功すると、 \fBstrdup\fP() 関数は複製された文字列へのポインタを返す。 十分なメモリが確保できなかった場合には、 NULL を返し、 +\fIerrno\fP にエラーの原因を示す値を設定する。 .SH エラー .TP \fBENOMEM\fP