Results of 11 - 20 of about 123 for handle (0.005 sec.)
- Man page of DLOPEN 7020
- DLOPEN Section: Linux Programmer's Manual (3) Updated: 2014-10-02 Index JM Home Page 名前 dlclos
...
nt flag ); char *dlerror(void); void *dlsym(void * handle , const char * symbol ); int dlclose(void * handle ...
close() 関数 dlclose () は動的ライブラリのハンドル handle の参照カウントを 1 減らす。参照カウントが 0 になり ...
oid * addr , Dl_info * info ); void *dlvsym(void * handle , char * symbol , char * version ); 関数 dladdr () ...
される際に自動的に呼び出される 終了ハンドラー (exit handler) を登録することができる。 歴史 dlopen インターフェ ...
-
https://man.plustar.jp/manpage/man3/dlopen.3.html
- [similar]
- Man page of MAKECONTEXT 6921
- MAKECONTEXT Section: Linux Programmer's Manual (3) Updated: 2020-12-21 Index JM Home Page 名前 m
...
ntext_t uctx_main, uctx_func1, uctx_func2; #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); ...
; if (swapcontext(&uctx_func1, &uctx_func2) == -1) handle_error("swapcontext"); printf("func1: returning\n") ...
; if (swapcontext(&uctx_func2, &uctx_func1) == -1) handle_error("swapcontext"); printf("func2: returning\n") ...
2_stack[16384]; if (getcontext(&uctx_func1) == -1) handle_error("getcontext"); uctx_func1.uc_stack.ss_sp = f ...
-
https://man.plustar.jp/manpage/man3/makecontext.3.html
- [similar]
- Man page of MAKECONTEXT 6921
- MAKECONTEXT Section: Linux Programmer's Manual (3) Updated: 2020-12-21 Index JM Home Page 名前 m
...
ntext_t uctx_main, uctx_func1, uctx_func2; #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); ...
; if (swapcontext(&uctx_func1, &uctx_func2) == -1) handle_error("swapcontext"); printf("func1: returning\n") ...
; if (swapcontext(&uctx_func2, &uctx_func1) == -1) handle_error("swapcontext"); printf("func2: returning\n") ...
2_stack[16384]; if (getcontext(&uctx_func1) == -1) handle_error("getcontext"); uctx_func1.uc_stack.ss_sp = f ...
-
https://man.plustar.jp/manpage/man3/swapcontext.3.html
- [similar]
- Man page of MQ_NOTIFY 6786
- MQ_NOTIFY Section: Linux Programmer's Manual (3) Updated: 2020-06-09 Index JM Home Page 名前 mq_
...
include < stdlib.h > #include < unistd.h > #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); ...
ーを確保する */ if (mq_getattr(mqdes, &attr) == -1) handle_error("mq_getattr"); buf = malloc(attr.mq_msgsize) ...
; if (buf == NULL) handle_error("malloc"); nr = mq_receive(mqdes, buf, attr. ...
mq_msgsize, NULL); if (nr == -1) handle_error("mq_receive"); printf("Read %zd bytes from M ...
-
https://man.plustar.jp/manpage/man2/mq_notify.2.html
- [similar]
- Man page of MQ_NOTIFY 6786
- MQ_NOTIFY Section: Linux Programmer's Manual (3) Updated: 2020-06-09 Index JM Home Page 名前 mq_
...
include < stdlib.h > #include < unistd.h > #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); ...
ーを確保する */ if (mq_getattr(mqdes, &attr) == -1) handle_error("mq_getattr"); buf = malloc(attr.mq_msgsize) ...
; if (buf == NULL) handle_error("malloc"); nr = mq_receive(mqdes, buf, attr. ...
mq_msgsize, NULL); if (nr == -1) handle_error("mq_receive"); printf("Read %zd bytes from M ...
-
https://man.plustar.jp/manpage/man3/mq_notify.3.html
- [similar]
- Man page of BIND 6650
- BIND Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 bind - ソ
...
PATH "/somepath" #define LISTEN_BACKLOG 50 #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); ...
= socket(AF_UNIX, SOCK_STREAM, 0); if (sfd == -1) handle_error("socket"); memset(&my_addr, 0, sizeof(my_add ...
ruct sockaddr *) &my_addr, sizeof(my_addr)) == -1) handle_error("bind"); if (listen(sfd, LISTEN_BACKLOG) == ...
-1) handle_error("listen"); /* Now we can accept incoming con ...
-
https://man.plustar.jp/manpage/man2/bind.2.html
- [similar]
- Man page of TIMERFD_CREATE 6601
- TIMERFD_CREATE Section: Linux Programmer's Manual (2) Updated: 2011-09-14 Index JM Home Page 名前
...
< stdint.h > /* Definition of uint64_t */ #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); ...
if (clock_gettime(CLOCK_MONOTONIC, &start) == -1) handle_error("clock_gettime"); } if (clock_gettime(CLOCK_ ...
MONOTONIC, &curr) == -1) handle_error("clock_gettime"); secs = curr.tv_sec - start ...
; } if (clock_gettime(CLOCK_REALTIME, &now) == -1) handle_error("clock_gettime"); /* Create a CLOCK_REALTIME ...
-
https://man.plustar.jp/manpage/man2/timerfd_create.2.html
- [similar]
- Man page of TIMERFD_CREATE 6601
- TIMERFD_CREATE Section: Linux Programmer's Manual (2) Updated: 2011-09-14 Index JM Home Page 名前
...
< stdint.h > /* Definition of uint64_t */ #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); ...
if (clock_gettime(CLOCK_MONOTONIC, &start) == -1) handle_error("clock_gettime"); } if (clock_gettime(CLOCK_ ...
MONOTONIC, &curr) == -1) handle_error("clock_gettime"); secs = curr.tv_sec - start ...
; } if (clock_gettime(CLOCK_REALTIME, &now) == -1) handle_error("clock_gettime"); /* Create a CLOCK_REALTIME ...
-
https://man.plustar.jp/manpage/man2/timerfd_gettime.2.html
- [similar]
- Man page of TIMERFD_CREATE 6601
- TIMERFD_CREATE Section: Linux Programmer's Manual (2) Updated: 2011-09-14 Index JM Home Page 名前
...
< stdint.h > /* Definition of uint64_t */ #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); ...
if (clock_gettime(CLOCK_MONOTONIC, &start) == -1) handle_error("clock_gettime"); } if (clock_gettime(CLOCK_ ...
MONOTONIC, &curr) == -1) handle_error("clock_gettime"); secs = curr.tv_sec - start ...
; } if (clock_gettime(CLOCK_REALTIME, &now) == -1) handle_error("clock_gettime"); /* Create a CLOCK_REALTIME ...
-
https://man.plustar.jp/manpage/man2/timerfd_settime.2.html
- [similar]
- 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/mprotect.2.html
- [similar]