INDEX 1455
clock_getcpuclockid(), 493, 496
prototype, 493
clock_getres(), 491
prototype, 491
clock_gettime(), 426, 491
example of use, 494, 511
prototype, 491
CLOCK_MONOTONIC constant, 491, 492,
494, 508
CLOCK_MONOTONIC_COARSE constant, 492
CLOCK_MONOTONIC_RAW constant, 492
clock_nanosleep(), 493–494, 673
example of use, 494
interrupted by signal handler, 444
prototype, 493
CLOCK_PROCESS_CPUTIME_ID constant, 491,
492, 494
CLOCK_REALTIME constant, 491, 492, 494, 508
example of use, 501, 507
CLOCK_REALTIME_COARSE constant, 492
clock_settime(), 492
prototype, 492
clock_t data type, 64, 206, 207, 208, 438
CLOCK_THREAD_CPUTIME_ID constant, 491, 492
clockid_t data type, 64, 491, 492, 493, 495
CLOCKS_PER_SEC constant, 207, 208, 210
example of use, 209
clone child, 609
clone(), 598–609, 801, 987
example of use, 602
prototype, 599
RLIMIT_NPROC resource limit and, 763
speed, 610–612
CLONE_CHILD_CLEARTID constant, 600, 606
CLONE_CHILD_SETTID constant, 600, 606
CLONE_FILES constant, 600, 603
example of use, 602
CLONE_FS constant, 600, 604, 607
CLONE_IDLETASK constant, 608
CLONE_IO constant, 600, 608
CLONE_NEWIPC constant, 600, 608
CLONE_NEWNET constant, 600, 608
CLONE_NEWNS constant, 261, 600, 607, 801
CLONE_NEWPID constant, 600, 608
CLONE_NEWUSER constant, 600, 608
CLONE_NEWUTC constant, 608
CLONE_NEWUTS constant, 600
CLONE_PARENT constant, 600, 608
CLONE_PARENT_SETTID constant, 600, 606
CLONE_PID constant, 600, 608
CLONE_PTRACE constant, 600, 608
CLONE_SETTLS constant, 600, 607
CLONE_SIGHAND constant, 600, 604, 605
CLONE_SYSVSEM constant, 600, 607, 987
CLONE_THREAD constant, 600, 604–606
CLONE_UNTRACED constant, 600, 608
CLONE_VFORK constant, 600, 608
CLONE_VM constant, 600, 604
clone2(), 599
close(), 70, 80–81, 426
example of use, 71
prototype, 81
CLOSE_WAIT state (TCP), 1269
closedir(), 354–355
example of use, 356
prototype, 355
closelog(), 777, 780
prototype, 780
close-on-exec flag, 74, 96, 98, 355, 377,
576–578, 613, 788, 894, 1110,
1153, 1158, 1175, 1281, 1356
closeonexec.c, 578
CLOSING state (TCP), 1269
cmdLineErr(), 53–54
code of implementation, 57
prototype, 54
CMSPAR constant, 1302
COFF (Common Object File Format), 113
Columbus UNIX, 922
Comer (1999), 1235, 1438
Comer (2000), 1210, 1235, 1438
Comer, D.E., 1438
command interpreter, 24
command-line arguments, 31,
122–124, 225
Common Object File Format (COFF), 113
comp_t data type, 64, 593, 594, 598
compressed clock tick, 594
concurrent server, 912, 957, 1239–1240,
1243–1247
condition variable, 614, 642–652, 881
association with mutex, 646
destroying, 652
initializing, 651–652
signaling, 643–644
statically allocated, 643
testing associated predicate, 647–648
waiting on, 643–645
CONFIG_BSD_PROCESS_ACCT kernel option, 592
CONFIG_HIGH_RES_TIMERS kernel option, 485
CONFIG_INOTIFY kernel option, 376
CONFIG_INOTIFY_USER kernel option, 376
CONFIG_LEGACY_PTYS kernel option, 1395
CONFIG_POSIX_MQUEUE kernel option, 1063
CONFIG_PROC_FS kernel option, 275
CONFIG_PROCESS_ACCT_V3 kernel option, 597
CONFIG_RT_GROUP_SCHED kernel option, 744
CONFIG_SECURITY_FILE_CAPABILITIES kernel
option, 814
CONFIG_SYSVIPC kernel option, 922