Results of 21 - 30 of about 123 for handle (0.051 sec.)
- Man page of MPROTECT 6551
- MPROTECT Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 mpro
...
nclude < errno.h > #include < sys/mman.h > #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); ...
} while (0) static char *buffer; static void handler(int sig, siginfo_t *si, void *unused) { /* Note: ...
calling printf() from a signal handler is not safe (and should not be done in production ...
printf() here as a simple way of showing that the handler was called. */ printf("Got SIGSEGV at address: %p ...
-
https://man.plustar.jp/manpage/man2/pkey_mprotect.2.html
- [similar]
- Man page of SEM_WAIT 6416
- SEM_WAIT Section: Linux Programmer's Manual (3) Updated: 2020-06-09 Index JM Home Page 名前 sem_
...
2 3 About to call sem_timedwait() sem_post() from handler sem_timedwait() succeeded $ ./a.out 2 1 About to ...
errno.h > #include < signal.h > sem_t sem; #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); ...
} while (0) static void handler(int sig) { write(STDOUT_FILENO, "sem_post() from ...
t(EXIT_FAILURE); } if (sem_init(&sem, 0, 0) == -1) handle_error("sem_init"); /* Establish SIGALRM handler; s ...
-
https://man.plustar.jp/manpage/man3/sem_timedwait.3.html
- [similar]
- Man page of SPU_RUN 6366
- SPU_RUN Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 spu_r
...
clude < sys/types.h > #include < fcntl.h > #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); ...
spu/example-context", 0, 0755); if (context == -1) handle_error("spu_create"); /* write a 'stop 0x1234' inst ...
"/spu/example-context/mem", O_RDWR); if (fd == -1) handle_error("open"); write(fd, &instruction, sizeof(inst ...
pu_run(context, &npc, NULL); if (spu_status == -1) handle_error("open"); /* we should see a status code of 0 ...
-
https://man.plustar.jp/manpage/man2/spu_run.2.html
- [similar]
- JM Project (Japanese)::List(man1) 6366
- Linux マニュアル 一覧表 アルファベット順 - o linuxマニュアルの o の一覧表です。 Linux マニュアル
...
at, creat - ファイルのオープン、作成を行う open_by_handle_at man2 name_to_handle_at, open_by_handle_at - パス ...
-
https://man.plustar.jp/manpage/man_o.html
- [similar]
- Man page of EVENTFD 6329
- EVENTFD Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 event
...
< stdint.h > /* Definition of uint64_t */ #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); ...
IT_FAILURE); } efd = eventfd(0, 0); if (efd == -1) handle_error("eventfd"); switch (fork()) { case 0: for (i ...
&u, sizeof(uint64_t)); if (s != sizeof(uint64_t)) handle_error("write"); } printf("Child completed write lo ...
&u, sizeof(uint64_t)); if (s != sizeof(uint64_t)) handle_error("read"); printf("Parent read %"PRIu64" (%#"P ...
-
https://man.plustar.jp/manpage/man2/eventfd.2.html
- [similar]
- Man page of EVENTFD 6329
- EVENTFD Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 event
...
< stdint.h > /* Definition of uint64_t */ #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); ...
IT_FAILURE); } efd = eventfd(0, 0); if (efd == -1) handle_error("eventfd"); switch (fork()) { case 0: for (i ...
&u, sizeof(uint64_t)); if (s != sizeof(uint64_t)) handle_error("write"); } printf("Child completed write lo ...
&u, sizeof(uint64_t)); if (s != sizeof(uint64_t)) handle_error("read"); printf("Parent read %"PRIu64" (%#"P ...
-
https://man.plustar.jp/manpage/man2/eventfd2.2.html
- [similar]
- Man page of EVENTFD 6329
- EVENTFD Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 event
...
< stdint.h > /* Definition of uint64_t */ #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); ...
IT_FAILURE); } efd = eventfd(0, 0); if (efd == -1) handle_error("eventfd"); switch (fork()) { case 0: for (i ...
&u, sizeof(uint64_t)); if (s != sizeof(uint64_t)) handle_error("write"); } printf("Child completed write lo ...
&u, sizeof(uint64_t)); if (s != sizeof(uint64_t)) handle_error("read"); printf("Parent read %"PRIu64" (%#"P ...
-
https://man.plustar.jp/manpage/man3/eventfd_read.3.html
- [similar]
- Man page of EVENTFD 6329
- EVENTFD Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 event
...
< stdint.h > /* Definition of uint64_t */ #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); ...
IT_FAILURE); } efd = eventfd(0, 0); if (efd == -1) handle_error("eventfd"); switch (fork()) { case 0: for (i ...
&u, sizeof(uint64_t)); if (s != sizeof(uint64_t)) handle_error("write"); } printf("Child completed write lo ...
&u, sizeof(uint64_t)); if (s != sizeof(uint64_t)) handle_error("read"); printf("Parent read %"PRIu64" (%#"P ...
-
https://man.plustar.jp/manpage/man3/eventfd_write.3.html
- [similar]
- JM Project (Japanese)::List(man1) 6280
- Linux マニュアル 一覧表 アルファベット順 - n linuxマニュアルの n の一覧表です。 Linux マニュアル
...
ces man7 namespaces - Linux 名前空間の概要 name_to_handle_at man2 name_to_handle_at, open_by_handle_at - パス ...
-
https://man.plustar.jp/manpage/man_n.html
- [similar]
- Man page of FMEMOPEN 6230
- FMEMOPEN Section: Linux Programmer's Manual (3) Updated: 2015-01-22 Index JM Home Page 名前 fmem
...
#include < stdio.h > #include < stdlib.h > #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); ...
en(argv[1], strlen(argv[1]), "r"); if (in == NULL) handle_error("fmemopen"); out = open_memstream(&ptr, &siz ...
e); if (out == NULL) handle_error("open_memstream"); for (;;) { s = fscanf(in, ...
reak; s = fprintf(out, "%d ", v * v); if (s == -1) handle_error("fprintf"); } fclose(in); fclose(out); print ...
-
https://man.plustar.jp/manpage/man3/fmemopen.3.html
- [similar]