INDEX 1475
memory residence, 1051–1054
memory usage (advising patterns of),
1054–1055
memory-based semaphore. See POSIX
semaphore, unnamed
memory-mapped file. See file mapping
memory-mapped I/O, 1019, 1026–1027
message queue descriptor. See POSIX
message queue, descriptor
message queue. See POSIX message
queue; System V message queue
metadata, 239
migrate_pages(), 801
Miller, R., 4
Mills (1992), 205, 1442
Mills, D.L., 1442
MIN terminal setting, 1307
min(), code of implementation, 51
mincore(), 1051–1052
example of use, 1053
prototype, 1051
mingetty command, 820
Minix, 6, 1422
minor(), 281
example of use, 284
MINSIGSTKSZ constant, 435
Mitchell, E.L., 1442
mkdir(), 286, 350–351, 426
example of use, 302
prototype, 350
mkdirat(), 365, 426
mkdtemp(), 15, 351
mkfifo(), 286, 426, 907
example of use, 913
prototype, 907
mkfifoat(), 365, 426
mkfs command, 254
mknod command, 252
mknod(), 252, 286, 426, 800, 907
mknodat(), 365, 426
mkstemp(), 108–109, 791
example of use, 518
prototype, 108
mkswap command, 254
mktemp(), 109
mktime(), 190, 198
diagram, 188
example of use, 192
prototype, 190
mlock(), 800, 1048, 1049–1050
example of use, 1053
prototype, 1049
RLIMIT_MEMLOCK resource limit and, 761
mlockall(), 761, 800, 1048, 1050–1051
prototype, 1050
RLIMIT_MEMLOCK resource limit and, 761
mmap(), 286, 761, 1020–1023, 1058, 1139.
See also memory mapping
compared with other shared memory
APIs, 1115–1116
diagram, 1025, 1029, 1030
example of use, 1023, 1029, 1036, 1111,
1112, 1113
prototype, 1020
RLIMIT_AS resource limit and, 760
RLIMIT_MEMLOCK resource limit and, 761
MMAP_THRESHOLD constant, 1035
mmap64(), 105
mmcat.c, 1022
mmcopy.c, 1434
MNT_DETACH constant, 270, 272
MNT_EXPIRE constant, 270
MNT_FORCE constant, 270
Mochel (2005), 253, 1442
Mochel, P., 1442
mode_t data type, 64, 72, 78, 280, 301,
303, 350, 365, 907, 1064, 1090,
1109, 1146
modify_env.c, 131
Mogul, J.C., 1193, 1440
Molnar, I., 689
Mosberger (2002), 10, 1442
Mosberger, D., 1442
mount command, 169, 263, 267
mount namespace, 225, 261, 263, 607
mount point, 225, 261, 263, 264
diagram, 262
mount(), 246–267, 607, 801
example of use, 269
prototype, 264
move_pages(), 801
MPOL_MF_MOVE_ALL constant, 801
mprobe(), 146
mprotect(), 1022, 1045–1046
example of use, 1047
prototype, 1046
mq_attr structure, 1064, 1068, 1070, 1072
definition, 1068
example of use, 1069, 1071
mq_close(), 1058, 1064, 1066
prototype, 1066
mq_getattr(), 1058, 1064, 1070–1071
example of use, 1071
prototype, 1070
mq_notify(), 1058, 1064, 1078–1079
example of use, 1081, 1083
prototype, 1078
mq_notify_sig.c, 1080
mq_notify_sigwaitinfo.c, 1434
mq_notify_thread.c, 1082