OSDN Git Service

(split) LDP: Update release pages
[linuxjm/LDP_man-pages.git] / release / man3 / wordexp.3
index 1e57e3b..08626fd 100644 (file)
@@ -42,15 +42,12 @@ glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参
 .sp
 \fBwordexp\fP(), \fBwordfree\fP(): _XOPEN_SOURCE
 .SH 説明
-The function \fBwordexp\fP()  performs a shell\-like expansion of the string
-\fIs\fP and returns the result in the structure pointed to by \fIp\fP.  The data
-type \fIwordexp_t\fP is a structure that at least has the fields \fIwe_wordc\fP,
-\fIwe_wordv\fP, and \fIwe_offs\fP.  The field \fIwe_wordc\fP is a \fIsize_t\fP that
-gives the number of words in the expansion of \fIs\fP.  The field \fIwe_wordv\fP
-is a \fIchar\ **\fP that points to the array of words found.  The field
-\fIwe_offs\fP of type \fIsize_t\fP is sometimes (depending on \fIflags\fP, see below)
-used to indicate the number of initial elements in the \fIwe_wordv\fP array
-that should be filled with NULLs.
+関数 \fBwordexp\fP()  はシェルのように文字列 \fIs\fP を展開し、 \fIp\fP で指し示す構造体に結果を返す。 データ型
+\fIwordexp_t\fP は少なくともフィールド \fIwe_wordc\fP, \fIwe_wordv\fP, \fIwe_offs\fP を持つ構造体である。
+フィールド \fIwe_wordc\fP は \fIsize_t\fP であり、 \fIs\fP を展開した結果に単語がいくつあるかを表す。 フィールド
+\fIwe_wordv\fP は \fIchar\ **\fP であり、見つかった単語の配列を指し示す。 \fIsize_t\fP 型のフィールド \fIwe_offs\fP
+は、 \fIwe_wordv\fP 配列にある初期要素のうちいくつが NULL で埋められるべきかを表すのに使われたりする (\fIflags\fP
+により決定される。下記を参照。)。
 .LP
 関数 \fBwordfree\fP()  は割り当てたメモリを再度解放する。 より正確にいうと、この関数はその引き数を解放するのではなく、 配列
 \fIwe_wordv\fP とそれが指し示す文字列を解放する。