ptg10805159
Index 987
I/O, nonblocking, 608–609, 627
mechanism, 95, 534, 587, 589– 628
options, 623– 625
socketfunction, 148, 331, 590, 592, 607, 609, 621,
625, 637–638, 640–641, 808
definition of, 590
socketpairfunction, 148, 331, 629–630, 632,
634, 941
definition of, 630
sockets, UNIX domain, 629– 642
timing, 565
socklen_tdata type, 606–607, 609, 622, 625, 800
SOCK_RAWconstant, 590–591, 602
SOCK_SEQPACKETconstant, 590–591, 602, 605,
609, 612, 625
SOCK_STREAMconstant, 319, 590–591, 602, 605,
609, 612, 614–616, 618–619, 625, 630, 635,
637, 640, 802, 808, 816
Solaris, xxi–xxii, xxv,xxvii, 3–4, 26–27, 29–30,
35 – 36, 38, 41, 48–49, 57–60, 62, 64–65, 70, 76,
88, 102, 108–113, 121–122, 129, 131–132, 138,
178, 182, 184–188, 208–209, 211–212, 222,
225, 229, 240, 242, 244–245, 260, 277, 288, 290,
293, 296, 298, 303, 314, 316–323, 329,
334 – 335, 351, 355, 371, 373, 377, 379–380,
385, 388, 392, 396, 409, 426–427, 432, 439, 471,
485, 496–497, 499, 503, 530–531, 534, 559,
561, 563, 565, 567, 572–573, 576, 592, 594,
607 – 608, 611–613, 627, 634, 648, 675–678,
684 – 691, 693, 700, 704, 716–717, 723–724,
726 – 727, 740–741, 744, 799, 911, 918, 925, 930,
932, 935–936, 951
SOL_SOCKETconstant, 624–625, 645–646,
650 – 652
solutions to exercises, 905– 945
SOMAXCONNconstant, 608
SO_OOBINLINEconstant, 626
SO_PASSCREDconstant, 651
SO_REUSEADDRconstant, 625
source code, availability,xxx
S_OUTPUTconstant, 510
Spafford, G., 181, 250, 298, 949
spawnfunction, 234
spin locks, 417– 418
spooling, printer,7 93 – 795
sprintffunction, 159, 549, 616, 622, 640, 655,
657, 659, 668–669, 759, 772–773, 803,
818 – 819, 822–823, 825–827, 833–835, 837,
845, 945
definition of, 159
spwdstructure, 918
squidlogin name, 178
S_RDBANDconstant, 510
S_RDNORMconstant, 510
sscanffunction, 162, 549, 551, 802– 803
definition of, 162
sshprogram, 293
sshdprogram, 465
SSIZE_MAXconstant, 38, 41, 71
ssize_tdata type, 39, 59, 71
stack, 205, 215
stackaddrattribute, 427
stacksizeattribute, 427
standarderror,8,145, 617
standarderror routines, 898– 904
standardinput, 8, 145
standardI/O
alternatives, 174– 175
buffering, 145–147, 231, 235, 265, 367, 552, 721,
752
efficiency,1 53 – 156
implementation, 164– 167
library,10, 143– 175
streams, 143– 144
versus unbuffered I/O, timing, 155
standardoutput, 8, 145, 617
standards, 25– 33
differences, 58– 59
STARTterminal character,678, 680–682, 686, 689,
693
statfunction, 4, 7, 65, 93–95, 97, 99, 107,
121 – 122, 124, 126–128, 131, 138, 140–141,
170, 331, 452, 586, 592, 628, 639–640, 670, 698,
908, 910, 942
definition of, 93
statstructure, 93–96, 98, 111,114, 124, 140, 147,
167, 170, 498, 518, 529, 535, 552, 557, 586, 638,
697 – 698, 757, 807, 832
static variables, 219
STATUS terminal character,678, 682, 687, 689, 703
<stdarg.h>header,27, 162–163, 755, 758
<stdbool.h>header,2 7
__STDC_IEC_559_ _constant, 31
<stddef.h>header,27, 635
stderrvariable, 145, 483, 731, 901
STDERR_FILENOconstant, 62, 145, 618–619, 643,
648, 652, 729
stdinvariable, 10, 145, 154, 214, 216, 550–551,
654
STDIN_FILENOconstant, 9, 62, 67, 72, 145, 308,
378, 483, 539, 544, 549–550, 619, 655–656,
679, 684, 709, 711, 728, 730–732, 739– 740
<stdint.h>header,27, 595
<stdio.h>header,10, 27, 38, 51, 145, 147, 151,
164, 168, 694, 755, 895