JM Project

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

Linux マニュアル 一覧

全文・高度検索

per page, with , order by , clip by
Results of 1 - 6 of about 6 for cpid (0.002 sec.)
Man page of PIPE 11022
PIPE Section: Linux Programmer's Manual (2) Updated: 2020-06-09 Index JM Home Page 名前 pipe, pipe2 - パイプを生成する 書式 #include < unistd.h > /* On Alpha, IA-64, MIPS, SuperH, and SPARC/SPARC64; see NOTES */ struct fd_pair { long fd[2]; ... #include < stdlib.h > #include < unistd.h > #include < string.h > int main(int argc, char *argv[]) { int pipefd[2]; pid_t cpid; char buf; if (argc != 2) { fprintf(stderr, "Usage: %s <string>\n", argv[0]); exit(EXIT_FAILURE); } if (pipe(pipefd) == -1 ... ) { perror("pipe"); exit(EXIT_FAILURE); } cpid = fork(); if (cpid == -1) { perror("fork"); exit(EXIT_FAILURE); } if (cpid == 0) { /* 子プロセスがパイプから読み込む */ cl ...
https://man.mtool.work/man/20260915/man2/pipe.2.html
Man page of PIPE 11022
PIPE Section: Linux Programmer's Manual (2) Updated: 2020-06-09 Index JM Home Page 名前 pipe, pipe2 - パイプを生成する 書式 #include < unistd.h > /* On Alpha, IA-64, MIPS, SuperH, and SPARC/SPARC64; see NOTES */ struct fd_pair { long fd[2]; ... #include < stdlib.h > #include < unistd.h > #include < string.h > int main(int argc, char *argv[]) { int pipefd[2]; pid_t cpid; char buf; if (argc != 2) { fprintf(stderr, "Usage: %s <string>\n", argv[0]); exit(EXIT_FAILURE); } if (pipe(pipefd) == -1 ... ) { perror("pipe"); exit(EXIT_FAILURE); } cpid = fork(); if (cpid == -1) { perror("fork"); exit(EXIT_FAILURE); } if (cpid == 0) { /* 子プロセスがパイプから読み込む */ cl ...
https://man.mtool.work/man/20260915/man2/pipe2.2.html
Man page of WAIT 9066
WAIT Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 wait, waitpid, waitid - プロセスの状態変化を待つ 書式 #include < sys/types.h > #include < sys/wait.h > pid_t wait(int * wstatus ); pid_t waitpid(pid_t p ... ude < stdint.h > #include < stdlib.h > #include < unistd.h > #include < stdio.h > int main(int argc, char *argv[]) { pid_t cpid, w; int wstatus; cpid = fork(); if (cpid == -1) { perror("fork"); exit(EXIT_FAILURE); } if (cpid == 0) { /* Code executed ... (argc == 1) pause(); /* Wait for signals */ _exit(atoi(argv[1])); } else { /* Code executed by parent */ do { w = waitpid(cpid, &wstatus, WUNTRACED | WCONTINUED); if (w == -1) { perror("waitpid"); exit(EXIT_FAILURE); } if (WIFEXITED(wstatus)) { prin ...
https://man.mtool.work/man/20260915/man2/wait.2.html
Man page of WAIT 9066
WAIT Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 wait, waitpid, waitid - プロセスの状態変化を待つ 書式 #include < sys/types.h > #include < sys/wait.h > pid_t wait(int * wstatus ); pid_t waitpid(pid_t p ... ude < stdint.h > #include < stdlib.h > #include < unistd.h > #include < stdio.h > int main(int argc, char *argv[]) { pid_t cpid, w; int wstatus; cpid = fork(); if (cpid == -1) { perror("fork"); exit(EXIT_FAILURE); } if (cpid == 0) { /* Code executed ... (argc == 1) pause(); /* Wait for signals */ _exit(atoi(argv[1])); } else { /* Code executed by parent */ do { w = waitpid(cpid, &wstatus, WUNTRACED | WCONTINUED); if (w == -1) { perror("waitpid"); exit(EXIT_FAILURE); } if (WIFEXITED(wstatus)) { prin ...
https://man.mtool.work/man/20260915/man2/waitid.2.html
Man page of WAIT 9066
WAIT Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 wait, waitpid, waitid - プロセスの状態変化を待つ 書式 #include < sys/types.h > #include < sys/wait.h > pid_t wait(int * wstatus ); pid_t waitpid(pid_t p ... ude < stdint.h > #include < stdlib.h > #include < unistd.h > #include < stdio.h > int main(int argc, char *argv[]) { pid_t cpid, w; int wstatus; cpid = fork(); if (cpid == -1) { perror("fork"); exit(EXIT_FAILURE); } if (cpid == 0) { /* Code executed ... (argc == 1) pause(); /* Wait for signals */ _exit(atoi(argv[1])); } else { /* Code executed by parent */ do { w = waitpid(cpid, &wstatus, WUNTRACED | WCONTINUED); if (w == -1) { perror("waitpid"); exit(EXIT_FAILURE); } if (WIFEXITED(wstatus)) { prin ...
https://man.mtool.work/man/20260915/man2/waitpid.2.html
Man page of SHMCTL 5538
SHMCTL Section: Linux Programmer's Manual (2) Updated: 2020-12-21 Index JM Home Page 名前 shmctl - System V 共有メモリー (shared memory) を制御する 書式 #include < sys/ipc.h > #include < sys/shm.h > int shmctl(int shmid , int cmd , struct s ... _t shm_dtime; /* 最後の分離 (detach) の時刻 */ time_t shm_ctime; /* 作成時刻 / shmctl() による 最後の変更時刻 */ pid_t shm_cpid; /* 作成者 (creator) の PID */ pid_t shm_lpid; /* 最後の shmat (2)/ shmdt (2) の PID */ shmatt_t shm_nattch; /* 現在付加さ ... all that detached tgis segment. shm_ctime Time of creation of segment or time of the last shmctl () IPC_SET operation. shm_cpid その共有メモリーセグメントを作成したプロセスの ID。 shm_lpid ID of the last process that executed a shmat (2) or shmdt (2) ...
https://man.mtool.work/man/20260915/man2/shmctl.2.html
PREV 1 NEXT

リンク

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