Advanced Programming in the UNIX® Environment

(lily) #1
ptg10805159

Index 991

read/writeversusmmap,5 30
standardI/O versus unbuffered I/O, 155
STREAMS-based pipes, 565
synchronization mechanisms, 86– 87
UNIX domain sockets, 565
writevversus other techniques, 522
timing comparison, mutex, 571
recordlocking, 571
semaphorelocking, 571, 583
TIOCGWINSZconstant, 710–711, 719, 730, 897
TIOCPKTconstant, 740
TIOCREMOTEconstant, 741
TIOCSCTTYconstant, 297–298, 727– 728
TIOCSIGconstant, 741
TIOCSIGNALconstant, 741
TIOCSWINSZconstant, 710, 718, 728, 741
tipprogram, 713
tmstructure, 191, 194, 408, 919
TMPDIRenvironment variable, 211
tmpfilefunction, 167–171, 366, 452
definition of, 167
TMP_MAXconstant, 38, 168
tmpnamfunction, 38, 167–171, 442
definition of, 167
tmsstructure, 280– 281
TOCTTOU error,65, 250, 953
Torvalds, L., 35
TOSTOPconstant, 676, 691
touchprogram, 127
tracing system calls, 497
transactions, database, 952
TRAP_BRKPTconstant, 353
TRAP_TRACEconstant, 353
treadfunction, 800, 805–806, 825, 838– 839
definition of, 805
treadnfunction, 800, 806, 824
definition of, 806
Tr ickey,H., 229, 952
truncatefunction, 112, 121, 125, 474
definition of, 112
truncation
file, 112
filename, 65– 66
pathname, 65– 66
trussprogram, 497
ttcompatSTREAMS module, 716, 726
ttystructure, 311
tty_atexitfunction, 705, 731, 897
definition of, 708
tty_cbreakfunction, 704, 709, 897
definition of, 705
ttymonprogram, 290
ttynamefunction, 137, 276, 442, 452, 695–696, 699


definition of, 695, 698
TTY_NAME_MAXconstant, 40, 43, 49
ttyname_rfunction, 443, 452
tty_rawfunction, 704, 709, 713, 731, 897
definition of, 706
tty_resetfunction, 704, 709, 897
definition of, 707
tty_termiosfunction, 705, 897
definition of, 708
typeattribute, 431
typescriptfile, 719, 737
TZenvironment variable, 190, 192, 195–196, 211,
919
TZNAME_MAXconstant, 40, 43, 49
tzsetfunction, 452

Ubuntu, xxii, 7, 26, 35, 290
UCHAR_MAXconstant, 37– 38
ucontext_tstructure, 352
ucredstructure, 649, 651
UFSfile system, 49, 57, 65, 113, 116, 129
UID,seeuser ID
uid_tdata type, 59
uint16_tdata type, 595
uint32_tdata type, 595
UINT_MAXconstant, 37– 38
ulimitprogram, 53, 222
ULLONG_MAXconstant, 37
ULONG_MAXconstant, 37
UltraSPARC, xxii, xxvii
umaskfunction, 104–107, 222, 331, 466– 467
definition of, 104
umaskprogram, 105, 141
unamefunction, 187, 196, 331
definition of, 187
unameprogram, 188, 196
unbuffered I/O, 8, 61– 91
unbuffered I/O timing, standardI/O versus, 155
ungetcfunction, 151–152, 452
definition of, 151
ungetwcfunction, 452
uninitialized data segment, 205
<unistd.h>header,9,29, 53, 62, 110, 442, 501,
755, 895
UNIX Architecture, 1– 2
UNIX domain sockets, 629– 642
timing, 565
UNIX System implementations, 33
Unix-to-Unix Copy,seeUUCP
UnixWare, 35
Free download pdf