The Linux Programming Interface

(nextflipdebug5) #1

1456 INDEX


CONFIG_UNIX98_PTYS kernel option, 1381
confstr(), 48, 588, 694
congestion control (TCP), 1192, 1194,
1236, 1443
connect(), 426, 673, 1152, 1158
diagram, 1156
example of use, 1169, 1224, 1228
interrupted by signal handler, 444
prototype, 1158
used with datagram sockets, 1162
connected datagram socket, 1162
container, 608
controlling process, 39, 533, 700,
706–708, 712
controlling terminal, 34, 39, 77, 533, 615,
700, 705, 706–708, 1380, 1385.
See also /dev/tty device
diagram, 701
obtaining name of, 707
opening, 707
Cook, L., xl
cooked mode (terminal I/O), 1309–1310
copy.c, 71
copy-on-write, 521, 1018
diagram, 521
Corbet (2002), 307, 1438
Corbet (2005), 278, 1422, 1438
Corbet, J., 1438
core dump file, 83, 166, 389, 441,
448–450, 530, 546, 594, 692, 789
circumstances when not produced,
448–449
naming, 449–450
obtaining for running process,
448, 1430
resource limit on size of, 760
set-user-ID programs and, 789
Cox, J., 1440
CPF_CLOEXEC constant, 1143
CPU affinity, 748
CPU time. See process time
CPU_CLR(), 749
prototype, 749
CPU_ISSET(), 749
prototype, 749
CPU_SET(), 749
example of use, 750
prototype, 749
CPU_ZERO(), 749
example of use, 750
prototype, 749
CR terminal special character, 1296, 1297,
1298, 1302, 1307
CR0 constant, 1302
CR1 constant, 1302

CR2 constant, 1302
CR3 constant, 1302
CRDLY constant, 1302
CREAD constant, 1303
creat(), 78–79, 286, 345, 426, 673
prototype, 78
create_module(), 801
create_pid_file.c, 1143
createPidFile(), 1143–1144
code of implementation, 1144
credentials. See process, credentials
critical section, 631, 635
Crosby (2003), 794, 1438
Crosby, S.A., 1438
CRTSCTS constant, 1303
crypt(), 162–163, 657
example of use, 165, 425
prototype, 163
crypt_r(), 658
CS5 constant, 1303
CS6 constant, 1303
CS7 constant, 1303
CS8 constant, 1303
csh (C shell), 25
CSIZE constant, 1303
CSTOPB constant, 1303
ctermid(), 656, 707–708
prototype, 707
ctime(), 16, 188–189, 198, 657
diagram, 188
example of use, 192, 199
prototype, 188
ctime_r(), 189, 658
curr_time.c, 194
current working directory, 29, 225,
363–365, 604, 613
Currie, A.L., xl
currTime(), 193
code of implementation, 194–195
prototype, 193
curses library, 14, 1290, 1444
Cvetkovic, D., xxxix

D
daemon process, 34, 767–774
creating, 768–771
ensuring just one instance runs,
1142–1143
programming guidelines, 771–772
reinitializing, 391, 772–775
daemon(), 770
daemon_SIGHUP.c, 774
dangling link, 28, 342, 349, 360
DARPA (Defense Advanced Research
Projects Agency), 1180
Free download pdf