JM Project

JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。

Linux マニュアル 一覧

全文・高度検索

per page, with , order by , clip by
Results of 1 - 10 of about 60 for called (0.003 sec.)
Man page of PTHREAD_CLEANUP_PUSH 11866
PTHREAD_CLEANUP_PUSH Section: Linux Programmer's Manual (3) Updated: 2020-06-09 Index JM Home Page 名前 pthread_cleanup_push, pthread_cleanup_pop - スレッドの キャンセルクリーンアップハンドラーの push/pop を行う 書式 #include < pthread.h > ... インスレッドはもう一つのスレッドに キャンセル要求を送信する。 $ ./a.out New thread started cnt = 0 cnt = 1 Canceling thread Called clean-up handler Thread was canceled; cnt = 0 上記の実行例から、スレッドがキャンセルされ、 キャンセルクリーンアップハンドラ ... が正常終了するようにし、さらに cleanup_pop_arg に 0 以外の値を渡している。 $ ./a.out x 1 New thread started cnt = 0 cnt = 1 Called clean-up handler Thread terminated normally; cnt = 0 上記では、スレッドはキャンセルされていないが、クリーンアップハンドラー ... static int done = 0; static int cleanup_pop_arg = 0; static int cnt = 0; static void cleanup_handler(void *arg) { printf("Called clean-up handler\n"); cnt = 0; } static void * thread_start(void *arg) { time_t start, curr; printf("New thread started\n" ...
https://man.mtool.work/man/20260915/man3/pthread_cleanup_pop.3.html
Man page of PTHREAD_CLEANUP_PUSH 11866
PTHREAD_CLEANUP_PUSH Section: Linux Programmer's Manual (3) Updated: 2020-06-09 Index JM Home Page 名前 pthread_cleanup_push, pthread_cleanup_pop - スレッドの キャンセルクリーンアップハンドラーの push/pop を行う 書式 #include < pthread.h > ... インスレッドはもう一つのスレッドに キャンセル要求を送信する。 $ ./a.out New thread started cnt = 0 cnt = 1 Canceling thread Called clean-up handler Thread was canceled; cnt = 0 上記の実行例から、スレッドがキャンセルされ、 キャンセルクリーンアップハンドラ ... が正常終了するようにし、さらに cleanup_pop_arg に 0 以外の値を渡している。 $ ./a.out x 1 New thread started cnt = 0 cnt = 1 Called clean-up handler Thread terminated normally; cnt = 0 上記では、スレッドはキャンセルされていないが、クリーンアップハンドラー ... static int done = 0; static int cleanup_pop_arg = 0; static int cnt = 0; static void cleanup_handler(void *arg) { printf("Called clean-up handler\n"); cnt = 0; } static void * thread_start(void *arg) { time_t start, curr; printf("New thread started\n" ...
https://man.mtool.work/man/20260915/man3/pthread_cleanup_push.3.html
Man page of SYSTEM 10208
SYSTEM Section: Linux Programmer's Manual (3) Updated: 2019-03-06 Index JM Home Page 名前 system - シェルコマンドの実行 書式 #include < stdlib.h > int system(const char * command ); 説明 system () ライブラリ関数は、 fork (2) を使って子プロセ ... et) == SIGQUIT)) break; } According to POSIX.1, it is unspecified whether handlers registered using pthread_atfork (3) are called during the execution of system (). In the glibc implementation, such handlers are not called. glibc 2.1.3 より前のバージョ ...
https://man.mtool.work/man/20260915/man3/system.3.html
Man page of MPROTECT 9641
MPROTECT Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 mprotect, pkey_mprotect - メモリー領域の保護を設定する 書式 #include < sys/mman.h > int mprotect(void * addr , size_t len , int prot ); #define _GNU ... tems that do not support protection keys in hardware, pkey_mprotect () may still be used, but pkey must be set to -1. When called this way, the operation of pkey_mprotect () is equivalent to mprotect (). 例 以下のプログラムは、 mprotect () の使用方法を ... ync-signal-safe; see signal-safety (7). Nevertheless, we use printf() here as a simple way of showing that the handler was called. */ printf("Got SIGSEGV at address: %p\n", si->si_addr); exit(EXIT_FAILURE); } int main(int argc, char *argv[]) { int page ...
https://man.mtool.work/man/20260915/man2/mprotect.2.html
Man page of MPROTECT 9641
MPROTECT Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 mprotect, pkey_mprotect - メモリー領域の保護を設定する 書式 #include < sys/mman.h > int mprotect(void * addr , size_t len , int prot ); #define _GNU ... tems that do not support protection keys in hardware, pkey_mprotect () may still be used, but pkey must be set to -1. When called this way, the operation of pkey_mprotect () is equivalent to mprotect (). 例 以下のプログラムは、 mprotect () の使用方法を ... ync-signal-safe; see signal-safety (7). Nevertheless, we use printf() here as a simple way of showing that the handler was called. */ printf("Got SIGSEGV at address: %p\n", si->si_addr); exit(EXIT_FAILURE); } int main(int argc, char *argv[]) { int page ...
https://man.mtool.work/man/20260915/man2/pkey_mprotect.2.html
Man page of SYNC 8536
SYNC Section: Linux Programmer's Manual (2) Updated: 2020-08-13 Index JM Home Page 名前 sync, syncfs - ファイルシステムキャッシュをディスクに書き込む 書式 #include < unistd.h > void sync(void); int syncfs(int fd ); glibc 向けの機能検査マクロ ... ng is done. However Linux waits for I/O completions, and thus sync () or syncfs () provide the same guarantees as fsync () called on every file in the system or filesystem respectively. In mainline kernel versions prior to 5.8, syncfs () will fail only ...
https://man.mtool.work/man/20260915/man2/sync.2.html
Man page of SYNC 8536
SYNC Section: Linux Programmer's Manual (2) Updated: 2020-08-13 Index JM Home Page 名前 sync, syncfs - ファイルシステムキャッシュをディスクに書き込む 書式 #include < unistd.h > void sync(void); int syncfs(int fd ); glibc 向けの機能検査マクロ ... ng is done. However Linux waits for I/O completions, and thus sync () or syncfs () provide the same guarantees as fsync () called on every file in the system or filesystem respectively. In mainline kernel versions prior to 5.8, syncfs () will fail only ...
https://man.mtool.work/man/20260915/man2/syncfs.2.html
Man page of FERROR 8536
FERROR Section: Linux Programmer's Manual (3) Updated: 2019-03-06 Index JM Home Page 名前 clearerr, feof, ferror, fileno - ストリームステータスのチェックとリセット 書式 #include < stdio.h > void clearerr(FILE * stream ); int feof(FILE * str ... scriptor used to implement this stream. The file descriptor is still owned by stream and will be closed when fclose (3) is called. Duplicate the file descriptor with dup (2) before passing it to code that might close it. これらの処理を停止せずに行いたい ...
https://man.mtool.work/man/20260915/man3/clearerr.3.html
Man page of FERROR 8536
FERROR Section: Linux Programmer's Manual (3) Updated: 2019-03-06 Index JM Home Page 名前 clearerr, feof, ferror, fileno - ストリームステータスのチェックとリセット 書式 #include < stdio.h > void clearerr(FILE * stream ); int feof(FILE * str ... scriptor used to implement this stream. The file descriptor is still owned by stream and will be closed when fclose (3) is called. Duplicate the file descriptor with dup (2) before passing it to code that might close it. これらの処理を停止せずに行いたい ...
https://man.mtool.work/man/20260915/man3/feof.3.html
Man page of FERROR 8536
FERROR Section: Linux Programmer's Manual (3) Updated: 2019-03-06 Index JM Home Page 名前 clearerr, feof, ferror, fileno - ストリームステータスのチェックとリセット 書式 #include < stdio.h > void clearerr(FILE * stream ); int feof(FILE * str ... scriptor used to implement this stream. The file descriptor is still owned by stream and will be closed when fclose (3) is called. Duplicate the file descriptor with dup (2) before passing it to code that might close it. これらの処理を停止せずに行いたい ...
https://man.mtool.work/man/20260915/man3/ferror.3.html
PREV 1 2 3 4 5 6 NEXT

リンク

日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。