JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... de < fcntl.h > /* AT_* 定数の定義 */ #include < dirent.h > int scandirat(int dirfd , const char * dirp , struct dirent *** namelist , int (* filter )(const struct dirent *), int (* compar )(const struct dirent **, const struct dirent **)); glibc 向けの機 ... により確保された文字列に格納され、比較関数 compar () を用いた qsort (3) によりソートされて、 malloc (3) により確保された配列 namelist にまとめられる。 filter が NULL ならば、すべてのエントリーが選択される。 比較関数 compar () には alphasort () 関数と versi ... #define _DEFAULT_SOURCE #include < dirent.h > #include < stdio.h > #include < stdlib.h > int main(void) { struct dirent **namelist; int n; n = scandir(".", &namelist, NULL, alphasort); if (n == -1) { perror("scandir"); exit(EXIT_FAILURE); } while (n--) ... ... de < fcntl.h > /* AT_* 定数の定義 */ #include < dirent.h > int scandirat(int dirfd , const char * dirp , struct dirent *** namelist , int (* filter )(const struct dirent *), int (* compar )(const struct dirent **, const struct dirent **)); glibc 向けの機 ... により確保された文字列に格納され、比較関数 compar () を用いた qsort (3) によりソートされて、 malloc (3) により確保された配列 namelist にまとめられる。 filter が NULL ならば、すべてのエントリーが選択される。 比較関数 compar () には alphasort () 関数と versi ... #define _DEFAULT_SOURCE #include < dirent.h > #include < stdio.h > #include < stdlib.h > int main(void) { struct dirent **namelist; int n; n = scandir(".", &namelist, NULL, alphasort); if (n == -1) { perror("scandir"); exit(EXIT_FAILURE); } while (n--) ... ... de < fcntl.h > /* AT_* 定数の定義 */ #include < dirent.h > int scandirat(int dirfd , const char * dirp , struct dirent *** namelist , int (* filter )(const struct dirent *), int (* compar )(const struct dirent **, const struct dirent **)); glibc 向けの機 ... により確保された文字列に格納され、比較関数 compar () を用いた qsort (3) によりソートされて、 malloc (3) により確保された配列 namelist にまとめられる。 filter が NULL ならば、すべてのエントリーが選択される。 比較関数 compar () には alphasort () 関数と versi ... #define _DEFAULT_SOURCE #include < dirent.h > #include < stdio.h > #include < stdlib.h > int main(void) { struct dirent **namelist; int n; n = scandir(".", &namelist, NULL, alphasort); if (n == -1) { perror("scandir"); exit(EXIT_FAILURE); } while (n--) ... ... de < fcntl.h > /* AT_* 定数の定義 */ #include < dirent.h > int scandirat(int dirfd , const char * dirp , struct dirent *** namelist , int (* filter )(const struct dirent *), int (* compar )(const struct dirent **, const struct dirent **)); glibc 向けの機 ... により確保された文字列に格納され、比較関数 compar () を用いた qsort (3) によりソートされて、 malloc (3) により確保された配列 namelist にまとめられる。 filter が NULL ならば、すべてのエントリーが選択される。 比較関数 compar () には alphasort () 関数と versi ... #define _DEFAULT_SOURCE #include < dirent.h > #include < stdio.h > #include < stdlib.h > int main(void) { struct dirent **namelist; int n; n = scandir(".", &namelist, NULL, alphasort); if (n == -1) { perror("scandir"); exit(EXIT_FAILURE); } while (n--) ... ... と等しい。 --context セキュリティコンテキストフォーマット (SE Linux 用)。 出力修正指定 -H プロセスを階層表示する (森)。 N namelist 名前リストファイルを指定する。 -n と等しい。上記の -n を参照すること。 O order ソート順の指定 (上書きされる)。 BSD の O オ ... に昇順なので、"+" は省略してよい。 --sort と等しい。 例: ps jaxkuid,-ppid,+pid ps axk comm o comm,args ps kstart_time -ef -n namelist 名前リストファイルを指定する。 N と等しい。 WCHAN の表示を正しく行うには、 名前リストファイルが必要である。 正しい出力のた ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。