Results of 31 - 40 of about 123 for handle (0.065 sec.)
- Man page of PTHREAD_SETAFFINITY_NP 6181
- PTHREAD_SETAFFINITY_NP Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home
...
#include < stdlib.h > #include < errno.h > #define handle_error_en(en, msg) \ do { errno = en; perror(msg); ...
y_np(thread, sizeof(cpuset), &cpuset); if (s != 0) handle_error_en(s, "pthread_setaffinity_np"); /* Check th ...
y_np(thread, sizeof(cpuset), &cpuset); if (s != 0) handle_error_en(s, "pthread_getaffinity_np"); printf("Set ...
-
https://man.plustar.jp/manpage/man3/pthread_getaffinity_np.3.html
- [similar]
- Man page of PTHREAD_SETAFFINITY_NP 6181
- PTHREAD_SETAFFINITY_NP Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home
...
#include < stdlib.h > #include < errno.h > #define handle_error_en(en, msg) \ do { errno = en; perror(msg); ...
y_np(thread, sizeof(cpuset), &cpuset); if (s != 0) handle_error_en(s, "pthread_setaffinity_np"); /* Check th ...
y_np(thread, sizeof(cpuset), &cpuset); if (s != 0) handle_error_en(s, "pthread_getaffinity_np"); printf("Set ...
-
https://man.plustar.jp/manpage/man3/pthread_setaffinity_np.3.html
- [similar]
- Man page of SYMLINK 6132
- SYMLINK Section: Linux Programmer's Manual (7) Updated: 2020-06-09 Index JM Home Page 名前 symli
...
ences to the kernel's own representation of a file handle. As such, these magic links allow users to access ...
INK_FOLLOW フラグが指定されなかった場合)、 name_to_handle_at (2) がシンボリックリンクに適用された場合、 (シン ...
クリンクへのハンドルが返される。 それ以降の open_by_handle_at (2) で O_PATH フラグを指定することで、 (シンボリ ...
2), fchownat (2), fstatat (2), linkat (2), name_to_handle_at (2), open (2), openat (2), open_by_handle_at (2 ...
-
https://man.plustar.jp/manpage/man7/symlink.7.html
- [similar]
- Man page of GETDENTS 6095
- GETDENTS Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 getd
...
< sys/stat.h > #include < sys/syscall.h > #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); ...
v[1] : ".", O_RDONLY | O_DIRECTORY); if (fd == -1) handle_error("open"); for (;;) { nread = syscall(SYS_getd ...
ents, fd, buf, BUF_SIZE); if (nread == -1) handle_error("getdents"); if (nread == 0) break; printf(" ...
-
https://man.plustar.jp/manpage/man2/getdents.2.html
- [similar]
- Man page of GETDENTS 6095
- GETDENTS Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 getd
...
< sys/stat.h > #include < sys/syscall.h > #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); ...
v[1] : ".", O_RDONLY | O_DIRECTORY); if (fd == -1) handle_error("open"); for (;;) { nread = syscall(SYS_getd ...
ents, fd, buf, BUF_SIZE); if (nread == -1) handle_error("getdents"); if (nread == 0) break; printf(" ...
-
https://man.plustar.jp/manpage/man2/getdents64.2.html
- [similar]
- Man page of MMAP 6095
- MMAP Section: Linux Programmer's Manual (2) Updated: 2015-01-22 Index JM Home Page 名前 mmap, mu
...
include < stdlib.h > #include < unistd.h > #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); ...
RE); } fd = open(argv[1], O_RDONLY); if (fd == -1) handle_error("open"); if (fstat(fd, &sb) == -1) /* To obt ...
ain file size */ handle_error("fstat"); offset = atoi(argv[2]); pa_offset ...
P_PRIVATE, fd, pa_offset); if (addr == MAP_FAILED) handle_error("mmap"); s = write(STDOUT_FILENO, addr + off ...
-
https://man.plustar.jp/manpage/man2/mmap.2.html
- [similar]
- Man page of MMAP 6095
- MMAP Section: Linux Programmer's Manual (2) Updated: 2015-01-22 Index JM Home Page 名前 mmap, mu
...
include < stdlib.h > #include < unistd.h > #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); ...
RE); } fd = open(argv[1], O_RDONLY); if (fd == -1) handle_error("open"); if (fstat(fd, &sb) == -1) /* To obt ...
ain file size */ handle_error("fstat"); offset = atoi(argv[2]); pa_offset ...
P_PRIVATE, fd, pa_offset); if (addr == MAP_FAILED) handle_error("mmap"); s = write(STDOUT_FILENO, addr + off ...
-
https://man.plustar.jp/manpage/man2/munmap.2.html
- [similar]
- Man page of SIGNALFD 6095
- SIGNALFD Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 sign
...
error. Such signals can be caught only via signal handler. As described above, in normal usage one blocks t ...
, one must fall back to using a traditional signal handler that writes to a file descriptor monitored by sel ...
#include < stdlib.h > #include < stdio.h > #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); ...
sk, SIGQUIT); /* Block signals so that they aren't handled according to their default dispositions */ if (si ...
-
https://man.plustar.jp/manpage/man2/signalfd.2.html
- [similar]
- Man page of SIGNALFD 6095
- SIGNALFD Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 sign
...
error. Such signals can be caught only via signal handler. As described above, in normal usage one blocks t ...
, one must fall back to using a traditional signal handler that writes to a file descriptor monitored by sel ...
#include < stdlib.h > #include < stdio.h > #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); ...
sk, SIGQUIT); /* Block signals so that they aren't handled according to their default dispositions */ if (si ...
-
https://man.plustar.jp/manpage/man2/signalfd4.2.html
- [similar]
- Man page of MMAP 6095
- MMAP Section: Linux Programmer's Manual (2) Updated: 2015-01-22 Index JM Home Page 名前 mmap, mu
...
include < stdlib.h > #include < unistd.h > #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); ...
RE); } fd = open(argv[1], O_RDONLY); if (fd == -1) handle_error("open"); if (fstat(fd, &sb) == -1) /* To obt ...
ain file size */ handle_error("fstat"); offset = atoi(argv[2]); pa_offset ...
P_PRIVATE, fd, pa_offset); if (addr == MAP_FAILED) handle_error("mmap"); s = write(STDOUT_FILENO, addr + off ...
-
https://man.plustar.jp/manpage/man3/mmap64.3.html
- [similar]