JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... : */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE 説明 The clearenv () function clears the environment of all name-value pairs and sets the value of the external variable environ to NULL. After this call, new variables ca ... n be added to the environment using putenv (3) and setenv (3). 返り値 clearenv () 関数は、成功した場合は 0 を返し、 失敗した場合は 0 以外を返す。 バ ... env (3) だけが追加され、 clearenv () の追加は否決された。 注意 On systems where clearenv () is unavailable, the assignment environ = NULL; というように変数 environ を設定すればよい。 The clearenv () function may be useful in security-conscious applicati ... ... e exec (3) call that started the process. When a child process is created via fork (2), it inherits a copy of its parent's environment. 通例では、 environ の文字列は " name = value " という書式をとる。 よく用いられる例を以下に示す。 USER ユーザーのログイ ... DITOR / VISUAL テキストファイルを編集するユーテリティ。ユーザーが好みのものを設定する。 Names may be placed in the shell's environment by the export command in sh (1), or by the setenv command if you use csh (1). The initial environment of the shell is ... populated in various ways, such as definitions from /etc/environment that are processed by pam_env (8) for all users at login time (on systems that employ pam (8)). In addition, various s ... ... 出力のみで TELNET BINARY オプション使用のネゴシエーションを行う。 -a 自動ログインをさせる。 現在のところ、リモートホストが ENVIRON オプションの USER 変数をサポートしている場合、この変数がログイン名として送信される。 ユーザ名は getlogin (3) を使って取得さ ... として user を指定する。 これは指定された名前を環境変数 USER として送信することで実現されるので、 リモートシステムが TELNET ENVIRON オプションをサポートしている必要がある。 このオプションは、暗黙のうちに - a オプションが使われ、 open コマンドとともに使わ ... ドで使われる 暗号化のデフォルトタイプを設定する。 現在のバージョンの telnet は、暗号化をサポートしていない点に注意すること。 environ arguments... environ コマンドは TELNET ENVIRON プロトコルオプションを用いて telnet リンクを通して環境変数を渡すために使われ ... ... ated with the file being executed. The array of pointers must be terminated by a null pointer. e - execle(), execvpe() The environment of the caller is specified via the argument envp . The envp argument is an array of pointers to null-terminated string ... s and must be terminated by a null pointer. All other exec () functions (which do not include 'e' in the suffix) take the environment for the new process image from the external variable environ in the calling process. p - execlp(), execvp(), execvpe() ... contain a slash (/) character. The file is sought in the colon-separated list of directory pathnames specified in the PATH environment variable. If this variable isn't defined, the path list defaults to a list that includes the directories returned by c ... ... ated with the file being executed. The array of pointers must be terminated by a null pointer. e - execle(), execvpe() The environment of the caller is specified via the argument envp . The envp argument is an array of pointers to null-terminated string ... s and must be terminated by a null pointer. All other exec () functions (which do not include 'e' in the suffix) take the environment for the new process image from the external variable environ in the calling process. p - execlp(), execvp(), execvpe() ... contain a slash (/) character. The file is sought in the colon-separated list of directory pathnames specified in the PATH environment variable. If this variable isn't defined, the path list defaults to a list that includes the directories returned by c ... ... ated with the file being executed. The array of pointers must be terminated by a null pointer. e - execle(), execvpe() The environment of the caller is specified via the argument envp . The envp argument is an array of pointers to null-terminated string ... s and must be terminated by a null pointer. All other exec () functions (which do not include 'e' in the suffix) take the environment for the new process image from the external variable environ in the calling process. p - execlp(), execvp(), execvpe() ... contain a slash (/) character. The file is sought in the colon-separated list of directory pathnames specified in the PATH environment variable. If this variable isn't defined, the path list defaults to a list that includes the directories returned by c ... ... ated with the file being executed. The array of pointers must be terminated by a null pointer. e - execle(), execvpe() The environment of the caller is specified via the argument envp . The envp argument is an array of pointers to null-terminated string ... s and must be terminated by a null pointer. All other exec () functions (which do not include 'e' in the suffix) take the environment for the new process image from the external variable environ in the calling process. p - execlp(), execvp(), execvpe() ... contain a slash (/) character. The file is sought in the colon-separated list of directory pathnames specified in the PATH environment variable. If this variable isn't defined, the path list defaults to a list that includes the directories returned by c ... ... ated with the file being executed. The array of pointers must be terminated by a null pointer. e - execle(), execvpe() The environment of the caller is specified via the argument envp . The envp argument is an array of pointers to null-terminated string ... s and must be terminated by a null pointer. All other exec () functions (which do not include 'e' in the suffix) take the environment for the new process image from the external variable environ in the calling process. p - execlp(), execvp(), execvpe() ... contain a slash (/) character. The file is sought in the colon-separated list of directory pathnames specified in the PATH environment variable. If this variable isn't defined, the path list defaults to a list that includes the directories returned by c ... ... ated with the file being executed. The array of pointers must be terminated by a null pointer. e - execle(), execvpe() The environment of the caller is specified via the argument envp . The envp argument is an array of pointers to null-terminated string ... s and must be terminated by a null pointer. All other exec () functions (which do not include 'e' in the suffix) take the environment for the new process image from the external variable environ in the calling process. p - execlp(), execvp(), execvpe() ... contain a slash (/) character. The file is sought in the colon-separated list of directory pathnames specified in the PATH environment variable. If this variable isn't defined, the path list defaults to a list that includes the directories returned by c ... ... ated with the file being executed. The array of pointers must be terminated by a null pointer. e - execle(), execvpe() The environment of the caller is specified via the argument envp . The envp argument is an array of pointers to null-terminated string ... s and must be terminated by a null pointer. All other exec () functions (which do not include 'e' in the suffix) take the environment for the new process image from the external variable environ in the calling process. p - execlp(), execvp(), execvpe() ... contain a slash (/) character. The file is sought in the colon-separated list of directory pathnames specified in the PATH environment variable. If this variable isn't defined, the path list defaults to a list that includes the directories returned by c ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。