OSDN Git Service

Retire LDP man-pages repository
[linuxjm/LDP_man-pages.git] / draft / man3 / program_invocation_name.3
diff --git a/draft/man3/program_invocation_name.3 b/draft/man3/program_invocation_name.3
deleted file mode 100644 (file)
index e9148fd..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-.\" Copyright (C) 2006 Michael Kerrisk <mtk.manpages@gmail.com>
-.\"
-.\" %%%LICENSE_START(PERMISSIVE_MISC)
-.\" Permission is hereby granted, free of charge, to any person obtaining
-.\" a copy of this software and associated documentation files (the
-.\" "Software"), to deal in the Software without restriction, including
-.\" without limitation the rights to use, copy, modify, merge, publish,
-.\" distribute, sublicense, and/or sell copies of the Software, and to
-.\" permit persons to whom the Software is furnished to do so, subject to
-.\" the following conditions:
-.\"
-.\" The above copyright notice and this permission notice shall be
-.\" included in all copies or substantial portions of the Software.
-.\"
-.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-.\" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-.\" IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-.\" CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-.\" TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-.\" SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-.\" %%%LICENSE_END
-.\"
-.\"*******************************************************************
-.\"
-.\" This file was generated with po4a. Translate the source file.
-.\"
-.\"*******************************************************************
-.\"
-.\" Japanese Version Copyright (c) 2006 Akihiro MOTOKI all rights reserved.
-.\" Translated 2006-03-13, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
-.\"
-.TH INVOCATION_NAME 3 2006\-04\-29 GNU "Linux Programmer's Manual"
-.SH 名前
-program_invocation_name, program_invocation_short_name \-
-プログラムの起動に使われた名前を取得する
-.SH 書式
-.nf
-\fB#define _GNU_SOURCE\fP         /* feature_test_macros(7) 参照 */
-\fB#include <errno.h>\fP
-
-\fBextern char *\fP\fIprogram_invocation_name\fP\fB;\fP
-\fBextern char *\fP\fIprogram_invocation_short_name\fP\fB;\fP
-.fi
-.SH 説明
-\fIprogram_invocation_name\fP は、呼び出し元プログラムの起動に使用された名前を保持する。 内容は \fImain\fP()  の
-\fIargv[0]\fP の値と同じだが、 \fIprogram_invocation_name\fP の方はスコープがグローバルである点が異なる。
-
-\fIprogram_invocation_short_name\fP は、呼び出し元プログラムの起動に使用された名前の basename 部分を
-保持する。つまり、この変数の内容は、最後のスラッシュ (/) とそれより前の 部分がある場合、 \fIprogram_invocation_name\fP
-からこの部分を削除したものとなる。
-
-これらの変数は glibc のランタイムスタートアップコードで 自動的に初期化される。
-.SH 準拠
-これらの変数は GNU の拡張であり、 移植性が必要なプログラムでは使用すべきでない。
-.SH 注意
-Linux 独自のファイル \fI/proc/[number]/cmdline\fP でも同様の情報を得ることができる。
-.SH 関連項目
-\fBproc\fP(5)
-.SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.79 の一部
-である。プロジェクトの説明とバグ報告に関する情報は
-http://www.kernel.org/doc/man\-pages/ に書かれている。