Chapter 6 |
6
|
Curses Screen Management Functions and Macros
|
6.1
|
Using the BSD-Based Curses Package (ALPHA ONLY)
|
6.2
|
Curses Overview
|
6.3
|
Curses Terminology
|
6.3.1
|
Predefined Windows (stdscr and curscr)
|
6.3.2
|
User-Defined Windows
|
6.4
|
Getting Started with Curses
|
6.5
|
Predefined Variables and Constants
|
6.6
|
Cursor Movement
|
6.7
|
Program Example
|
Chapter 7 |
7
|
Math Functions
|
7.1
|
Math Function Variants---float, long double
|
7.2
|
Error Detection
|
7.3
|
The <fp.h> Header File
|
7.4
|
Example
|
Chapter 8 |
8
|
Memory Allocation Functions
|
8.1
|
Program Example
|
Chapter 9 |
9
|
System Functions
|
Chapter 10 |
10
|
Developing International Software
|
10.1
|
Internationalization Support
|
10.1.1
|
Installation
|
10.1.2
|
Unicode Support
|
10.2
|
Features of International Software
|
10.3
|
Developing International Software Using Compaq C
|
10.4
|
Locales
|
10.5
|
Using the setlocale Function to Set Up an International Environment
|
10.6
|
Using Message Catalogs
|
10.7
|
Handling Different Character Sets
|
10.7.1
|
Charmap File
|
10.7.2
|
Converter Functions
|
10.7.3
|
Using Codeset Converter Files
|
10.8
|
Handling Culture-Specific Information
|
10.8.1
|
Extracting Cultural Information From a Locale
|
10.8.2
|
Date and Time Formatting Functions
|
10.8.3
|
Monetary Formatting Function
|
10.8.4
|
Numeric Formatting
|
10.9
|
Functions for Handling Wide Characters
|
10.9.1
|
Character Classification Functions
|
10.9.2
|
Case Conversion Functions
|
10.9.3
|
Functions for Input and Output of Wide Characters
|
10.9.4
|
Functions for Converting Multibyte and Wide Characters
|
10.9.5
|
Functions for Manipulating Wide-Character Strings and Arrays
|
10.10
|
Collating Functions
|
Chapter 11 |
11
|
Date/Time Functions
|
11.1
|
Date/Time Support Models
|
11.2
|
Overview of Date/Time Functions
|
11.3
|
Compaq C RTL Date/Time Computations---UTC and Local Time
|
11.4
|
Time-Zone Conversion Rule Files
|
11.5
|
Sample Date/Time Scenario
|
Part |
Part
|
Reference Section
|
Command 1
|
abort
|
Command 2
|
abs
|
Command 3
|
access
|
Command 4
|
acos
|
Command 5
|
acosh (ALPHA ONLY)
|
Command 6
|
[w]addch
|
Command 7
|
[w]addstr
|
Command 8
|
alarm
|
Command 9
|
asctime, asctime_r
|
Command 10
|
asin
|
Command 11
|
asinh (ALPHA ONLY)
|
Command 12
|
assert
|
Command 13
|
atan
|
Command 14
|
atan2
|
Command 15
|
atanh (ALPHA ONLY)
|
Command 16
|
atexit
|
Command 17
|
atof
|
Command 18
|
atoi, atol
|
Command 19
|
atoq, atoll (ALPHA ONLY)
|
Command 20
|
basename
|
Command 21
|
bcmp
|
Command 22
|
bcopy
|
Command 23
|
box
|
Command 24
|
brk
|
Command 25
|
bsearch
|
Command 26
|
btowc
|
Command 27
|
bzero
|
Command 28
|
cabs
|
Command 29
|
calloc
|
Command 30
|
catclose
|
Command 31
|
catgets
|
Command 32
|
catopen
|
Command 33
|
cbrt (ALPHA ONLY)
|
Command 34
|
ceil
|
Command 35
|
cfree
|
Command 36
|
chdir
|
Command 37
|
chmod
|
Command 38
|
chown
|
Command 39
|
[w]clear
|
Command 40
|
clearerr
|
Command 41
|
clearok
|
Command 42
|
clock
|
Command 43
|
close
|
Command 44
|
closedir
|
Command 45
|
[w]clrattr
|
Command 46
|
[w]clrtobot
|
Command 47
|
[w]clrtoeol
|
Command 48
|
confstr
|
Command 49
|
copysign (ALPHA ONLY)
|
Command 50
|
cos
|
Command 51
|
cosh
|
Command 52
|
cot
|
Command 53
|
creat
|
Command 54
|
[no]crmode
|
Command 55
|
ctermid
|
Command 56
|
ctime, ctime_r
|
Command 57
|
cuserid
|
Command 58
|
DECC$CRTL_INIT
|
Command 59
|
decc$feature_get_index
|
Command 60
|
decc$feature_get_name
|
Command 61
|
decc$feature_get_value
|
Command 62
|
decc$feature_set_value
|
Command 63
|
decc$fix_time
|
Command 64
|
decc$from_vms
|
Command 65
|
decc$match_wild
|
Command 66
|
decc$record_read
|
Command 67
|
decc$record_write
|
Command 68
|
decc$set_child_standard_streams
|
Command 69
|
decc$set_reentrancy
|
Command 70
|
decc$to_vms
|
Command 71
|
decc$translate_vms
|
Command 72
|
decc$validate_wchar
|
Command 73
|
decc$write_eof_to_mbx
|
Command 74
|
[w]delch
|
Command 75
|
delete
|
Command 76
|
[w]deleteln
|
Command 77
|
delwin
|
Command 78
|
difftime
|
Command 79
|
dirname
|
Command 80
|
div
|
Command 81
|
dlclose
|
Command 82
|
dlerror
|
Command 83
|
dlopen
|
Command 84
|
dlsym
|
Command 85
|
drand48
|
Command 86
|
dup, dup2
|
Command 87
|
[no]echo
|
Command 88
|
ecvt
|
Command 89
|
endpwent
|
Command 90
|
endwin
|
Command 91
|
erand48
|
Command 92
|
[w]erase
|
Command 93
|
erf
|
Command 94
|
execl
|
Command 95
|
execle
|
Command 96
|
execlp
|
Command 97
|
execv
|
Command 98
|
execve
|
Command 99
|
execvp
|
Command 100
|
exit, _exit
|
Command 101
|
exp
|
Command 102
|
fabs
|
Command 103
|
fchown
|
Command 104
|
fclose
|
Command 105
|
fcntl
|
Command 106
|
fcvt
|
Command 107
|
fdopen
|
Command 108
|
feof
|
Command 109
|
ferror
|
Command 110
|
fflush
|
Command 111
|
ffs
|
Command 112
|
fgetc
|
Command 113
|
fgetname
|
Command 114
|
fgetpos
|
Command 115
|
fgets
|
Command 116
|
fgetwc
|
Command 117
|
fgetws
|
Command 118
|
fileno
|
Command 119
|
finite (ALPHA ONLY)
|
Command 120
|
floor
|
Command 121
|
fmod
|
Command 122
|
fopen
|
Command 123
|
fp_class (ALPHA ONLY)
|
Command 124
|
fpathconf
|
Command 125
|
fprintf
|
Command 126
|
fputc
|
Command 127
|
fputs
|
Command 128
|
fputwc
|
Command 129
|
fputws
|
Command 130
|
fread
|
Command 131
|
free
|
Command 132
|
freopen
|
Command 133
|
frexp
|
Command 134
|
fscanf
|
Command 135
|
fseek
|
Command 136
|
fseeko
|
Command 137
|
fsetpos
|
Command 138
|
fstat
|
Command 139
|
fsync
|
Command 140
|
ftell
|
Command 141
|
ftello
|
Command 142
|
ftime
|
Command 143
|
ftruncate
|
Command 144
|
ftw
|
Command 145
|
fwait
|
Command 146
|
fwide
|
Command 147
|
fwprintf
|
Command 148
|
fwrite
|
Command 149
|
fwscanf
|
Command 150
|
gcvt
|
Command 151
|
getc
|
Command 152
|
[w]getch
|
Command 153
|
getchar
|
Command 154
|
getclock
|
Command 155
|
getcwd
|
Command 156
|
getdtablesize
|
Command 157
|
getegid
|
Command 158
|
getenv
|
Command 159
|
geteuid
|
Command 160
|
getgid
|
Command 161
|
getitimer
|
Command 162
|
getlogin
|
Command 163
|
getname
|
Command 164
|
getopt
|
Command 165
|
getpagesize
|
Command 166
|
getpid
|
Command 167
|
getppid
|
Command 168
|
getpwent
|
Command 169
|
getpwnam
|
Command 170
|
getpwuid
|
Command 171
|
gets
|
Command 172
|
[w]getstr
|
Command 173
|
gettimeofday
|
Command 174
|
getuid
|
Command 175
|
getw
|
Command 176
|
getwc
|
Command 177
|
getwchar
|
Command 178
|
getyx
|
Command 179
|
gmtime, gmtime_r
|
Command 180
|
gsignal
|
Command 181
|
hypot
|
Command 182
|
iconv
|
Command 183
|
iconv_close
|
Command 184
|
iconv_open
|
Command 185
|
[w]inch
|
Command 186
|
index
|
Command 187
|
initscr
|
Command 188
|
initstate
|
Command 189
|
[w]insch
|
Command 190
|
[w]insertln
|
Command 191
|
[w]insstr
|
Command 192
|
isalnum
|
Command 193
|
isalpha
|
Command 194
|
isapipe
|
Command 195
|
isascii
|
Command 196
|
isatty
|
Command 197
|
iscntrl
|
Command 198
|
isdigit
|
Command 199
|
isgraph
|
Command 200
|
islower
|
Command 201
|
isnan (ALPHA ONLY)
|
Command 202
|
isprint
|
Command 203
|
ispunct
|
Command 204
|
isspace
|
Command 205
|
isupper
|
Command 206
|
iswalnum
|
Command 207
|
iswalpha
|
Command 208
|
iswcntrl
|
Command 209
|
iswctype
|
Command 210
|
iswdigit
|
Command 211
|
iswgraph
|
Command 212
|
iswlower
|
Command 213
|
iswprint
|
Command 214
|
iswpunct
|
Command 215
|
iswspace
|
Command 216
|
iswupper
|
Command 217
|
iswxdigit
|
Command 218
|
isxdigit
|
Command 219
|
j0, j1, jn (ALPHA ONLY)
|
Command 220
|
jrand48
|
Command 221
|
kill
|
Command 222
|
labs
|
Command 223
|
lcong48
|
Command 224
|
ldexp
|
Command 225
|
ldiv
|
Command 226
|
leaveok
|
Command 227
|
lgamma (ALPHA ONLY)
|
Command 228
|
link
|
Command 229
|
localeconv
|
Command 230
|
localtime, localtime_r
|
Command 231
|
log, log2, log10
|
Command 232
|
log1p (ALPHA ONLY)
|
Command 233
|
logb (ALPHA ONLY)
|
Command 234
|
longjmp
|
Command 235
|
longname
|
Command 236
|
lrand48
|
Command 237
|
lseek
|
Command 238
|
lwait
|
Command 239
|
malloc
|
Command 240
|
mblen
|
Command 241
|
mbrlen
|
Command 242
|
mbrtowc
|
Command 243
|
mbstowcs
|
Command 244
|
mbtowc
|
Command 245
|
mbsinit
|
Command 246
|
mbsrtowcs
|
Command 247
|
memccpy
|
Command 248
|
memchr
|
Command 249
|
memcmp
|
Command 250
|
memcpy
|
Command 251
|
memmove
|
Command 252
|
memset
|
Command 253
|
mkdir
|
Command 254
|
mkstemp
|
Command 255
|
mktemp
|
Command 256
|
mktime
|
Command 257
|
mmap
|
Command 258
|
modf
|
Command 259
|
[w]move
|
Command 260
|
mprotect
|
Command 261
|
mrand48
|
Command 262
|
msync
|
Command 263
|
munmap
|
Command 264
|
mv[w]addch
|
Command 265
|
mv[w]addstr
|
Command 266
|
mvcur
|
Command 267
|
mv[w]delch
|
Command 268
|
mv[w]getch
|
Command 269
|
mv[w]getstr
|
Command 270
|
mv[w]inch
|
Command 271
|
mv[w]insch
|
Command 272
|
mv[w]insstr
|
Command 273
|
mvwin
|
Command 274
|
newwin
|
Command 275
|
nextafter (ALPHA ONLY)
|
Command 276
|
nice
|
Command 277
|
nint (ALPHA ONLY)
|
Command 278
|
[no]nl
|
Command 279
|
nl_langinfo
|
Command 280
|
nrand48
|
Command 281
|
open
|
Command 282
|
opendir
|
Command 283
|
overlay
|
Command 284
|
overwrite
|
Command 285
|
pathconf
|
Command 286
|
pause
|
Command 287
|
pclose
|
Command 288
|
perror
|
Command 289
|
pipe
|
Command 290
|
popen
|
Command 291
|
pow
|
Command 292
|
printf
|
Command 293
|
[w]printw
|
Command 294
|
putc
|
Command 295
|
putchar
|
Command 296
|
putenv
|
Command 297
|
puts
|
Command 298
|
putw
|
Command 299
|
putwc
|
Command 300
|
putwchar
|
Command 301
|
qabs, llabs (ALPHA ONLY)
|
Command 302
|
qdiv, lldiv (ALPHA ONLY)
|
Command 303
|
qsort
|
Command 304
|
raise
|
Command 305
|
rand
|
Command 306
|
random
|
Command 307
|
[no]raw
|
Command 308
|
read
|
Command 309
|
readdir, readdir_r
|
Command 310
|
realloc
|
Command 311
|
[w]refresh
|
Command 312
|
remove
|
Command 313
|
rename
|
Command 314
|
rewind
|
Command 315
|
rewinddir
|
Command 316
|
rindex
|
Command 317
|
rint (ALPHA ONLY)
|
Command 318
|
rmdir
|
Command 319
|
sbrk
|
Command 320
|
scalb (ALPHA ONLY)
|
Command 321
|
scanf
|
Command 322
|
[w]scanw
|
Command 323
|
scroll
|
Command 324
|
scrollok
|
Command 325
|
seed48
|
Command 326
|
seekdir
|
Command 327
|
[w]setattr
|
Command 328
|
setbuf
|
Command 329
|
setenv
|
Command 330
|
setgid
|
Command 331
|
setitimer
|
Command 332
|
setjmp
|
Command 333
|
setlocale
|
Command 334
|
setpwent
|
Command 335
|
setstate
|
Command 336
|
setuid
|
Command 337
|
setvbuf
|
Command 338
|
sigaction
|
Command 339
|
sigaddset
|
Command 340
|
sigblock
|
Command 341
|
sigdelset
|
Command 342
|
sigemptyset
|
Command 343
|
sigfillset
|
Command 344
|
sigismember
|
Command 345
|
siglongjmp
|
Command 346
|
sigmask
|
Command 347
|
signal
|
Command 348
|
sigpause
|
Command 349
|
sigpending
|
Command 350
|
sigprocmask
|
Command 351
|
sigsetjmp
|
Command 352
|
sigsetmask
|
Command 353
|
sigstack (VAX ONLY)
|
Command 354
|
sigsuspend
|
Command 355
|
sigvec
|
Command 356
|
sin
|
Command 357
|
sinh
|
Command 358
|
sleep
|
Command 359
|
sprintf
|
Command 360
|
sqrt
|
Command 361
|
srand
|
Command 362
|
srand48
|
Command 363
|
srandom
|
Command 364
|
sscanf
|
Command 365
|
ssignal
|
Command 366
|
[w]standend
|
Command 367
|
[w]standout
|
Command 368
|
stat
|
Command 369
|
strcasecmp
|
Command 370
|
strcat
|
Command 371
|
strchr
|
Command 372
|
strcmp
|
Command 373
|
strcoll
|
Command 374
|
strcpy
|
Command 375
|
strcspn
|
Command 376
|
strdup
|
Command 377
|
strerror
|
Command 378
|
strfmon
|
Command 379
|
strftime
|
Command 380
|
strlen
|
Command 381
|
strncasecmp
|
Command 382
|
strncat
|
Command 383
|
strncmp
|
Command 384
|
strncpy
|
Command 385
|
strnlen
|
Command 386
|
strpbrk
|
Command 387
|
strptime
|
Command 388
|
strrchr
|
Command 389
|
strsep
|
Command 390
|
strspn
|
Command 391
|
strstr
|
Command 392
|
strtod
|
Command 393
|
strtok
|
Command 394
|
strtol
|
Command 395
|
strtoq, strtoll (ALPHA ONLY)
|
Command 396
|
strtoul
|
Command 397
|
strtouq, strtoull (ALPHA ONLY)
|
Command 398
|
strxfrm
|
Command 399
|
subwin
|
Command 400
|
swab
|
Command 401
|
swprintf
|
Command 402
|
swscanf
|
Command 403
|
sysconf
|
Command 404
|
system
|
Command 405
|
tan
|
Command 406
|
tanh
|
Command 407
|
telldir
|
Command 408
|
tempnam
|
Command 409
|
time
|
Command 410
|
times
|
Command 411
|
tmpfile
|
Command 412
|
tmpnam
|
Command 413
|
toascii
|
Command 414
|
tolower
|
Command 415
|
_tolower
|
Command 416
|
touchwin
|
Command 417
|
toupper
|
Command 418
|
_toupper
|
Command 419
|
towctrans
|
Command 420
|
towlower
|
Command 421
|
towupper
|
Command 422
|
trunc (ALPHA ONLY)
|
Command 423
|
truncate
|
Command 424
|
ttyname
|
Command 425
|
tzset
|
Command 426
|
ualarm
|
Command 427
|
umask
|
Command 428
|
uname
|
Command 429
|
ungetc
|
Command 430
|
ungetwc
|
Command 431
|
unordered (ALPHA ONLY)
|
Command 432
|
utime
|
Command 433
|
utimes
|
Command 434
|
unsetenv
|
Command 435
|
usleep
|
Command 436
|
VAXC$CRTL_INIT
|
Command 437
|
VAXC$ESTABLISH
|
Command 438
|
va_arg
|
Command 439
|
va_count
|
Command 440
|
va_end
|
Command 441
|
va_start_1, va_start
|
Command 442
|
vfork
|
Command 443
|
vfprintf
|
Command 444
|
vfscanf
|
Command 445
|
vfwprintf
|
Command 446
|
vfwscanf
|
Command 447
|
vprintf
|
Command 448
|
vscanf
|
Command 449
|
vsprintf
|
Command 450
|
vsscanf
|
Command 451
|
vswprintf
|
Command 452
|
vswscanf
|
Command 453
|
vwprintf
|
Command 454
|
vwscanf
|
Command 455
|
wait
|
Command 456
|
wait3
|
Command 457
|
wait4
|
Command 458
|
waitpid
|
Command 459
|
wcrtomb
|
Command 460
|
wcscat
|
Command 461
|
wcschr
|
Command 462
|
wcscmp
|
Command 463
|
wcscoll
|
Command 464
|
wcscpy
|
Command 465
|
wcscspn
|
Command 466
|
wcsftime
|
Command 467
|
wcslen
|
Command 468
|
wcsncat
|
Command 469
|
wcsncmp
|
Command 470
|
wcsncpy
|
Command 471
|
wcspbrk
|
Command 472
|
wcsrchr
|
Command 473
|
wcsrtombs
|
Command 474
|
wcsspn
|
Command 475
|
wcsstr
|
Command 476
|
wcstod
|
Command 477
|
wcstok
|
Command 478
|
wcstol
|
Command 479
|
wcstombs
|
Command 480
|
wcstoul
|
Command 481
|
wcswcs
|
Command 482
|
wcswidth
|
Command 483
|
wcsxfrm
|
Command 484
|
wctob
|
Command 485
|
wctomb
|
Command 486
|
wctrans
|
Command 487
|
wctype
|
Command 488
|
wcwidth
|
Command 489
|
wmemchr
|
Command 490
|
wmemcmp
|
Command 491
|
wmemcpy
|
Command 492
|
wmemmove
|
Command 493
|
wmemset
|
Command 494
|
wprintf
|
Command 495
|
wrapok
|
Command 496
|
write
|
Command 497
|
writev
|
Command 498
|
wscanf
|
Command 499
|
y0, y1, yn (ALPHA ONLY)
|