JM Project

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

Linux マニュアル 一覧

全文・高度検索

per page, with , order by , clip by
Results of 1 - 10 of about 21 for mman (0.003 sec.)
Man page of MPROTECT 12735
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 ... _SOURCE /* feature_test_macros (7) 参照 */ #include < sys/mman.h > int pkey_mprotect(void * addr , size_t len , int prot , int pkey ); 説明 mprotect () は、区間 [ addr , addr + len -1] ... uced as part of the futex (2) implementation (in order to guarantee the ability to perform atomic operations required by commands such as FUTEX_WAIT ), but is not currently used in on any architecture. PROT_SAO (Linux 2.6.26 以降) The memory should h ... #include < signal.h > #include < stdio.h > #include < malloc.h > #include < stdlib.h > #include < errno.h > #include < sys/mman.h > #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); } while (0) static char *buffer; static void handler ...
https://man.mtool.work/man/20260915/man2/mprotect.2.html
Man page of MPROTECT 12735
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 ... _SOURCE /* feature_test_macros (7) 参照 */ #include < sys/mman.h > int pkey_mprotect(void * addr , size_t len , int prot , int pkey ); 説明 mprotect () は、区間 [ addr , addr + len -1] ... uced as part of the futex (2) implementation (in order to guarantee the ability to perform atomic operations required by commands such as FUTEX_WAIT ), but is not currently used in on any architecture. PROT_SAO (Linux 2.6.26 以降) The memory should h ... #include < signal.h > #include < stdio.h > #include < malloc.h > #include < stdlib.h > #include < errno.h > #include < sys/mman.h > #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); } while (0) static char *buffer; static void handler ...
https://man.mtool.work/man/20260915/man2/pkey_mprotect.2.html
Man page of MEMFD_CREATE 10300
MEMFD_CREATE Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 memfd_create - 無名ファイル (anonymous file) を作成する 書式 #define _GNU_SOURCE /* feature_test_macros (7) 参照 */ #include < sys/mman.h > int ... Existing seals: WRITE SHRINK プログラムのソース: t_memfd_create.c #define _GNU_SOURCE #include < stdint.h > #include < sys/mman.h > #include < fcntl.h > #include < stdlib.h > #include < unistd.h > #include < string.h > #include < stdio.h > #define er ... fd = memfd_create(name, MFD_ALLOW_SEALING); if (fd == -1) errExit("memfd_create"); /* Size the file as specified on the command line */ if (ftruncate(fd, len) == -1) errExit("truncate"); printf("PID: %jd; fd: %d; /proc/%jd/fd/%d\n", (intmax_t) getpi ... d(), fd, (intmax_t) getpid(), fd); /* Code to map the file and populate the mapping with data omitted */ /* If a 'seals' command-line argument was supplied, set some seals on the file */ if (seals_arg != NULL) { seals = 0; if (strchr(seals_arg, 'g') ...
https://man.mtool.work/man/20260915/man2/memfd_create.2.html
Man page of MMAP2 9336
MMAP2 Section: Linux Programmer's Manual (2) Updated: 2017-09-15 Index JM Home Page 名前 mmap2 - ファイルやデバイスをメモリーにマップする 書式 #include < sys/mman.h > void *mmap2(void * addr , size_t length , int prot , int flags , int fd , ...
https://man.mtool.work/man/20260915/man2/mmap2.2.html
Man page of MINCORE 8845
MINCORE Section: Linux Programmer's Manual (2) Updated: 2017-09-15 Index JM Home Page 名前 mincore - ページがメモリー内にあるかどうかを判定する 書式 #include < unistd.h > #include < sys/mman.h > int mincore(void * addr , size_t length , uns ...
https://man.mtool.work/man/20260915/man2/mincore.2.html
Man page of MSYNC 8845
MSYNC Section: Linux Programmer's Manual (2) Updated: 2020-06-09 Index JM Home Page 名前 msync - ファイルをマップしたメモリーと同期させる 書式 #include < sys/mman.h > int msync(void * addr , size_t length , int flags ); 説明 msync () は mma ...
https://man.mtool.work/man/20260915/man2/msync.2.html
Man page of SHM_OPEN 8845
SHM_OPEN Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 shm_open, shm_unlink - POSIX 共有メモリーオブジェクトの作成/オープン/削除を行う 書式 #include < sys/mman.h > #include < sys/stat.h > /* mode 定数用 ... is to define a structure that will be imposed on the memory object that is shared between the two programs. #include < sys/mman.h > #include < fcntl.h > #include < semaphore.h > #include < sys/stat.h > #include < stdio.h > #include < stdlib.h > #incl ... プログラムのソース: pshm_ucase_bounce.c The "bounce" program creates a new shared memory object with the name given in its command-line argument and sizes the object to match the size of the shmbuf structure defined in the header file. It then maps the ... closed. */ shm_unlink(shmpath); exit(EXIT_SUCCESS); } プログラムのソース: pshm_ucase_send.c The "send" program takes two command-line arguments: the pathname of a shared memory object previously created by the "bounce" program and a string that is to ...
https://man.mtool.work/man/20260915/man3/shm_open.3.html
Man page of SHM_OPEN 8845
SHM_OPEN Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 shm_open, shm_unlink - POSIX 共有メモリーオブジェクトの作成/オープン/削除を行う 書式 #include < sys/mman.h > #include < sys/stat.h > /* mode 定数用 ... is to define a structure that will be imposed on the memory object that is shared between the two programs. #include < sys/mman.h > #include < fcntl.h > #include < semaphore.h > #include < sys/stat.h > #include < stdio.h > #include < stdlib.h > #incl ... プログラムのソース: pshm_ucase_bounce.c The "bounce" program creates a new shared memory object with the name given in its command-line argument and sizes the object to match the size of the shmbuf structure defined in the header file. It then maps the ... closed. */ shm_unlink(shmpath); exit(EXIT_SUCCESS); } プログラムのソース: pshm_ucase_send.c The "send" program takes two command-line arguments: the pathname of a shared memory object previously created by the "bounce" program and a string that is to ...
https://man.mtool.work/man/20260915/man3/shm_unlink.3.html
Man page of MMAP 8355
MMAP Section: Linux Programmer's Manual (2) Updated: 2015-01-22 Index JM Home Page 名前 mmap, munmap - ファイルやデバイスをメモリーにマップ/アンマップする 書式 #include < sys/mman.h > void *mmap(void * addr , size_t length , int prot , int ... ルの必要なページのメモリー マッピングを作成し、 write (2) を使って所望のバイトを出力する。 プログラムのソース #include < sys/mman.h > #include < sys/stat.h > #include < fcntl.h > #include < stdio.h > #include < stdlib.h > #include < unistd.h > #define ...
https://man.mtool.work/man/20260915/man2/mmap.2.html
Man page of MMAP 8355
MMAP Section: Linux Programmer's Manual (2) Updated: 2015-01-22 Index JM Home Page 名前 mmap, munmap - ファイルやデバイスをメモリーにマップ/アンマップする 書式 #include < sys/mman.h > void *mmap(void * addr , size_t length , int prot , int ... ルの必要なページのメモリー マッピングを作成し、 write (2) を使って所望のバイトを出力する。 プログラムのソース #include < sys/mman.h > #include < sys/stat.h > #include < fcntl.h > #include < stdio.h > #include < stdlib.h > #include < unistd.h > #define ...
https://man.mtool.work/man/20260915/man2/munmap.2.html
PREV 1 2 3 NEXT

リンク

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