The Linux Programming Interface

(nextflipdebug5) #1

1462 INDEX


feenableexcept(), 391
Fellinger, P., xxxix, xl
Fenner, B., 1421, 1444
fexecve(), 15, 426, 571
prototype, 571
FF0 constant, 1302
FF1 constant, 1302
FFDLY constant, 1302
fflush(), 239, 244, 538
prototype, 239
fg shell command, 715
diagram, 717
fgetxattr(), 315
prototype, 315
FIBMAP constant, 255
FIFO, 282, 392, 882, 883, 886, 906–918.
See also pipe
creating dual pipeline with tee(1),
diagram, 908
deadlock during open by two
processes, diagram, 917
open() semantics, 907, 915–916
poll() on, 1342
read() semantics, 917–918
select() on, 1342
write() semantics, 918
fifo_seqnum.h, 911
fifo_seqnum_client.c, 914
fifo_seqnum_server.c, 912, 920
file, 27
appending output to, 92
blocks allocated to, 282
compression, 306
control operations, 92
creating, 76
creating exclusively, 76, 90–92
deleting, 346, 352
descriptor. See file descriptor
holes in, 83, 259, 283
lease, 615, 800, 1135, 1142
lock. See file lock
mapping. See file mapping
maximum size of, 258
offset. See file offset
on-disk structure
diagram, 258
opening, 72–79
optimal I/O block size, 283
randomly accessing, 81–86
reading, 79–80
renaming, 348–349
resource limit on size, 761
retrieving metadata, 279–285
sharing of open file by parent and
child, 517–520

size, 282
synchronous updates, 264, 267, 307
temporary, 108–109
timestamps. See file timestamps
truncating, 103
truncation on open(), 77
type, 27, 95, 256, 281
diagram, 281
writing, 80
file access mode, 72, 75, 93, 95
File Alteration Monitor (FAM), 375
file capabilities, 799, 803–804, 1440
effective, 799, 802
inheritable, 799, 803
permitted, 799, 802
file creation flags, 75
file descriptor, 30, 69, 94, 530, 603, 613
closed on process termination, 533
diagram, 95, 520
duplicating, 96–98
multiplexing, 1327, 1330–1346
passing via UNIX domain socket, 1284
for POSIX shared memory object, 1108
ready, 1327
refers to same open file in forked
child, 517
relationship to open file, 94–96
resource limit on number of open, 762
file descriptor set, 64, 1331
file hole, 83, 259, 283
file I/O, 29
advising kernel about access
patterns, 244
benchmarking, 236
buffering, 233–250
diagram, 244
large files, 104–107
performing at a specified offset, 98–99
scatter-gather I/O, 99–102
speed, 235, 236, 242
file lease, 615, 800, 1135, 1142
file lock, 533, 881, 882, 884, 886,
1117–1144
advisory, 1119, 1137
comparison of semantics of flock() and
fcntl(), 1136–1137
deadlock, 1128–1129
with fcntl(), 614, 1124–1137
semantics of lock inheritance and
release, 1136–1137
with flock(), 614, 1119–1124
limitations, 1123–1124
semantics of lock inheritance and
release, 1122–1123
limits, 1135–1136
Free download pdf