OSDN Git Service

(split) LDP: Update draft pages
[linuxjm/LDP_man-pages.git] / draft / man3 / exec.3
index 76cd626..33d4dbc 100644 (file)
@@ -79,14 +79,10 @@ glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参
 .PP
 これらの関数の最初の引き数は、実行されるファイルの名前である。
 .PP
-The \fIconst char\ *arg\fP and subsequent ellipses in the \fBexecl\fP(),
-\fBexeclp\fP(), and \fBexecle\fP()  functions can be thought of as \fIarg0\fP,
-\fIarg1\fP, \&..., \fIargn\fP.  Together they describe a list of one or more
-pointers to null\-terminated strings that represent the argument list
-available to the executed program.  The first argument, by convention,
-should point to the filename associated with the file being executed.  The
-list of arguments \fImust\fP be terminated by a NULL pointer, and, since these
-are variadic functions, this pointer must be cast \fI(char\ *) NULL\fP.
+関数 \fBexecl\fP(), \fBexeclp\fP(), \fBexecle\fP()  の \fIconst char\ *arg\fP とそれに続く省略部分は
+\fIarg0\fP, \fIarg1\fP, \&..., \fIargn\fP とみなされる。 これらには、実行されるプログラムで利用可能な引き数のリストを指定する
+(引き数のリストは NULL で終端された文字列へのポインタから構成される)。 慣習として、最初の引き数は、実行されるファイル名
+へのポインタにする。引き数のリストは必ず NULL で終わらなければならず、これらの関数は可変長引き数関数なので、 このポインタは \fI(char\ *) NULL\fP とキャストしなければならない。
 .PP
 関数 \fBexecv\fP(), \fBexecvp\fP(), \fBexecvpe\fP()  は、利用可能な引き数リスト (NULL で終端された文字列への
 ポインタの配列) を新しいプログラムに渡す。 慣習として、最初の引き数は実行されるファイル名へ のポインタにする。ポインタの配列は必ず NULL