JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... : basename () には異なるバージョンが 2つ存在する。下記の「注意」の節を参照のこと。 dirname () と basename () は、ヌルで終端されたパス ... ディレクトリ部分・ファイル名部分に分割する。 通常は、 dirname () は最後の '/' までの部分 (最後の '/' は含まない) を返し、 basename () は最後の '/' 以降の部分を返す。 文字列の末尾についた '/' 文字は、パス名の一部とはみなされない。 path に '/' 文字がない場 ... 合は、 dirname () は文字列 "." を返し、 basename () は path と同じ内容を返す。 path が文字列 "/" に等しい場合は、 dirname () も basename () も文字列 "/" を返す。 path が ヌ ... ... : basename () には異なるバージョンが 2つ存在する。下記の「注意」の節を参照のこと。 dirname () と basename () は、ヌルで終端されたパス ... ディレクトリ部分・ファイル名部分に分割する。 通常は、 dirname () は最後の '/' までの部分 (最後の '/' は含まない) を返し、 basename () は最後の '/' 以降の部分を返す。 文字列の末尾についた '/' 文字は、パス名の一部とはみなされない。 path に '/' 文字がない場 ... 合は、 dirname () は文字列 "." を返し、 basename () は path と同じ内容を返す。 path が文字列 "/" に等しい場合は、 dirname () も basename () も文字列 "/" を返す。 path が ヌ ... ... レクトリの部分をすべて取り去る。 suffix が指定され、それが name の末尾と一致すると、 その部分も name から同時に除去される。 basename は結果の名前を標準出力に表示する。 オプション --help 標準出力に使用方法のメッセージを出力して正常終了する。 --version 標準 ... ... 満の検索キーを捨てます。 n の初期値は3です。 -n n n 個の共通語を、ありふれたものから順に捨てます。 n の初期値は100です。 -o basename インデックスの名前を basename .i とします。 -t n 検索キーを n 文字で切り捨てます。 n の初期値は6です。 関連ファイル filena ... ... final slash (i.e., a/b ) is called the dirname component, and the part following the final slash (i.e., c ) is called the basename component. システムコールにおけるシンボリックリンクの取り扱い 最初の領域は、システムコールのファイル名引数としてシンボリッ ... lowing of symbolic links in the dirname component. 2. Except as noted below, all system calls follow symbolic links in the basename component of a pathname. For example, if there were a symbolic link slink which pointed to a file named afile , the system ... ("slink" ...) would return a file descriptor referring to the file afile . Various system calls do not follow links in the basename component of a pathname, and operate on the symbolic link itself. They are: lchown (2), lgetxattr (2), llistxattr (2), lre ... ... の方はスコープがグローバルである点が異なる。 program_invocation_short_name は、呼び出し元プログラムの起動に使用された名前の basename 部分を 保持する。つまり、この変数の内容は、最後のスラッシュ (/) とそれより前の 部分がある場合、 program_invocation_name か ... ... の方はスコープがグローバルである点が異なる。 program_invocation_short_name は、呼び出し元プログラムの起動に使用された名前の basename 部分を 保持する。つまり、この変数の内容は、最後のスラッシュ (/) とそれより前の 部分がある場合、 program_invocation_name か ... ... トであるため、 これがセキュリティホールとなる可能性があります。 特に、 圧縮実行ファイルは、 gzip や他の標準ユーティリティ ( basename , chmod , ln , mkdir , mktemp , rm , sleep , tail ) の検索は PATH 環境変数に依存しています。 バグ gzexe コマンドは、 元ファ ... ... [-w | --wholename] [-b | --basename] [-l N | --limit=N] [-S | --statistics] [-r | --regex ] [--regextype R] [--max-database-age D] [-P | -H | --nofollow] [-L ... 引数すべてに一致する名前のみを表示します。 つまりすべてに一致せず、 1 つやその一部にのみに一致するものは表示しません。 -b, --basename 指定されたパターンが、 データベース内にあるファイル名の最後の構成要素に一致した場合に、 出力結果として一致したものとします ... ... セスが制御端末を持っていなくても、オープンしたファイル は制御端末にはならない。 O_NOFOLLOW If the trailing component (i.e., basename) of pathname is a symbolic link, then the open fails, with the error ELOOP . Symbolic links in earlier components of the p ... が指定されたが、 O_WRONLY も O_RDWR も指定されていなかった。 EINVAL O_CREAT was specified in flags and the final component ("basename") of the new file's pathname is invalid (e.g., it contains characters not permitted by the underlying filesystem). EINVAL ... The final component ("basename") of pathname is invalid (e.g., it contains characters not permitted by the underlying filesystem). EISDIR pathname はディ ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。