JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... は、だいたい以下のリストに示した 順序でセクションを配置するようにしてもらいたい。 名前 (NAME) 書式 (SYNOPSIS) CONFIGURATION [Normally only in Section 4] 説明 (DESCRIPTION) OPTIONS [Normally only in Sections 1, 8] EXIT STATUS [Normally only in Sections 1, 8 ... ] 返り値 [Normally only in Sections 2, 3] ERRORS [Typically only in Sections 2, 3] ENVIRONMENT ファイル VERSIONS [Normally only in Sections 2 ... , 3] ATTRIBUTES [Normally only in Sections 2, 3] 準拠 注意 バグ 例 AUTHORS [Discouraged] REPORTING BUGS [Not used in man-pages] COPYRIGHT [Not used ... ... 設定して、 もう一つのスレッドが正常終了するようにしている。 $ ./a.out x New thread started cnt = 0 cnt = 1 Thread terminated normally; cnt = 2 上記では、 ( cleanup_pop_arg が 0 なので) クリーンアップハンドラーは 実行されておらず、その結果 cnt の値はリセット ... arg に 0 以外の値を渡している。 $ ./a.out x 1 New thread started cnt = 0 cnt = 1 Called clean-up handler Thread terminated normally; cnt = 0 上記では、スレッドはキャンセルされていないが、クリーンアップハンドラーが実行されたことが分かる。これは pthread_cl ... thread_join"); if (res == PTHREAD_CANCELED) printf("Thread was canceled; cnt = %d\n", cnt); else printf("Thread terminated normally; cnt = %d\n", cnt); exit(EXIT_SUCCESS); } 関連項目 pthread_cancel (3), pthread_cleanup_push_defer_np (3), pthread_setcance ... ... 設定して、 もう一つのスレッドが正常終了するようにしている。 $ ./a.out x New thread started cnt = 0 cnt = 1 Thread terminated normally; cnt = 2 上記では、 ( cleanup_pop_arg が 0 なので) クリーンアップハンドラーは 実行されておらず、その結果 cnt の値はリセット ... arg に 0 以外の値を渡している。 $ ./a.out x 1 New thread started cnt = 0 cnt = 1 Called clean-up handler Thread terminated normally; cnt = 0 上記では、スレッドはキャンセルされていないが、クリーンアップハンドラーが実行されたことが分かる。これは pthread_cl ... thread_join"); if (res == PTHREAD_CANCELED) printf("Thread was canceled; cnt = %d\n", cnt); else printf("Thread terminated normally; cnt = %d\n", cnt); exit(EXIT_SUCCESS); } 関連項目 pthread_cancel (3), pthread_cleanup_push_defer_np (3), pthread_setcance ... ... , char * buf ); int sysfs(int option ); 説明 Note : if you are looking for information about the sysfs filesystem that is normally mounted at /sys , see sysfs (5). (廃止予定の) sysfs () システムコールは、現在カーネル (kernel) に存在しているファイルシステ ... ... t-user-ID helper binary called "pt_chown". On Linux systems with a devpts filesystem (present since Linux 2.2), the kernel normally sets the correct ownership and permissions for the pseudoterminal slave when the master is opened ( posix_openpt (3)), so ... ... filesystem objects, while the effective group ID is used for some other kinds of permissions checks (see credentials (7)). Normally, the value of the process's filesystem group ID is the same as the value of its effective group ID. This is so, because wh ... ... filesystem objects, while the effective group ID is used for some other kinds of permissions checks (see credentials (7)). Normally, the value of the process's filesystem group ID is the same as the value of its effective group ID. This is so, because wh ... ... lesystem objects, while the effective user ID is used for various other kinds of permissions checks (see credentials (7)). Normally, the value of the process's filesystem user ID is the same as the value of its effective user ID. This is so, because when ... ... lesystem objects, while the effective user ID is used for various other kinds of permissions checks (see credentials (7)). Normally, the value of the process's filesystem user ID is the same as the value of its effective user ID. This is so, because when ... ... と proc/sys/vm/oom_adj 、および Linux カーネルのソースファイルの Documentation/vm/overcommit-accounting.rst を参照のこと。 Normally, malloc () allocates memory from the heap, and adjusts the size of the heap as required, using sbrk (2). When allocating b ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。