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, double, 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
|
[w]addch
|
Command 6
|
[w]addstr
|
Command 7
|
alarm
|
Command 8
|
asctime, asctime_r
|
Command 9
|
asin
|
Command 10
|
assert
|
Command 11
|
atan
|
Command 12
|
atan2
|
Command 13
|
atexit
|
Command 14
|
atof
|
Command 15
|
atoi, atol
|
Command 16
|
atoq, atoll (ALPHA ONLY)
|
Command 17
|
basename
|
Command 18
|
bcmp
|
Command 19
|
bcopy
|
Command 20
|
box
|
Command 21
|
brk
|
Command 22
|
bsearch
|
Command 23
|
btowc
|
Command 24
|
bzero
|
Command 25
|
cabs
|
Command 26
|
calloc
|
Command 27
|
catclose
|
Command 28
|
catgets
|
Command 29
|
catopen
|
Command 30
|
ceil
|
Command 31
|
cfree
|
Command 32
|
chdir
|
Command 33
|
chmod
|
Command 34
|
chown
|
Command 35
|
[w]clear
|
Command 36
|
clearerr
|
Command 37
|
clearok
|
Command 38
|
clock
|
Command 39
|
close
|
Command 40
|
closedir
|
Command 41
|
[w]clrattr
|
Command 42
|
[w]clrtobot
|
Command 43
|
[w]clrtoeol
|
Command 44
|
confstr
|
Command 45
|
cos
|
Command 46
|
cosh
|
Command 47
|
cot
|
Command 48
|
creat
|
Command 49
|
[no]crmode
|
Command 50
|
ctermid
|
Command 51
|
ctime, ctime_r
|
Command 52
|
cuserid
|
Command 53
|
DECC$CRTL_INIT
|
Command 54
|
decc$fix_time
|
Command 55
|
decc$from_vms
|
Command 56
|
decc$match_wild
|
Command 57
|
decc$record_read
|
Command 58
|
decc$record_write
|
Command 59
|
decc$set_child_standard_streams
|
Command 60
|
decc$set_reentrancy
|
Command 61
|
decc$to_vms
|
Command 62
|
decc$translate_vms
|
Command 63
|
decc$validate_wchar
|
Command 64
|
decc$write_eof_to_mbx
|
Command 65
|
[w]delch
|
Command 66
|
delete
|
Command 67
|
[w]deleteln
|
Command 68
|
delwin
|
Command 69
|
difftime
|
Command 70
|
dirname
|
Command 71
|
div
|
Command 72
|
dlclose
|
Command 73
|
dlerror
|
Command 74
|
dlopen
|
Command 75
|
dlsym
|
Command 76
|
drand48
|
Command 77
|
dup, dup2
|
Command 78
|
[no]echo
|
Command 79
|
ecvt
|
Command 80
|
endwin
|
Command 81
|
erand48
|
Command 82
|
[w]erase
|
Command 83
|
execl
|
Command 84
|
execle
|
Command 85
|
execlp
|
Command 86
|
execv
|
Command 87
|
execve
|
Command 88
|
execvp
|
Command 89
|
exit, _exit
|
Command 90
|
exp
|
Command 91
|
fabs
|
Command 92
|
fclose
|
Command 93
|
fcntl
|
Command 94
|
fcvt
|
Command 95
|
fdopen
|
Command 96
|
feof
|
Command 97
|
ferror
|
Command 98
|
fflush
|
Command 99
|
ffs
|
Command 100
|
fgetc
|
Command 101
|
fgetname
|
Command 102
|
fgetpos
|
Command 103
|
fgets
|
Command 104
|
fgetwc
|
Command 105
|
fgetws
|
Command 106
|
fileno
|
Command 107
|
floor
|
Command 108
|
fmod
|
Command 109
|
fopen
|
Command 110
|
fp_class, fp_classf, fp_classl (ALPHA ONLY)
|
Command 111
|
fpathconf
|
Command 112
|
fprintf
|
Command 113
|
fputc
|
Command 114
|
fputs
|
Command 115
|
fputwc
|
Command 116
|
fputws
|
Command 117
|
fread
|
Command 118
|
free
|
Command 119
|
freopen
|
Command 120
|
frexp
|
Command 121
|
fscanf
|
Command 122
|
fseek
|
Command 123
|
fsetpos
|
Command 124
|
fstat
|
Command 125
|
fsync
|
Command 126
|
ftell
|
Command 127
|
ftime
|
Command 128
|
ftruncate
|
Command 129
|
ftw
|
Command 130
|
fwait
|
Command 131
|
fwide
|
Command 132
|
fwrite
|
Command 133
|
fwprintf
|
Command 134
|
fwscanf
|
Command 135
|
gcvt
|
Command 136
|
getc
|
Command 137
|
[w]getch
|
Command 138
|
getchar
|
Command 139
|
getclock
|
Command 140
|
getcwd
|
Command 141
|
getdtablesize
|
Command 142
|
getegid
|
Command 143
|
getenv
|
Command 144
|
geteuid
|
Command 145
|
getgid
|
Command 146
|
getitimer
|
Command 147
|
getlogin
|
Command 148
|
getname
|
Command 149
|
getopt
|
Command 150
|
getpagesize
|
Command 151
|
getpid
|
Command 152
|
getppid
|
Command 153
|
getpwnam
|
Command 154
|
getpwuid
|
Command 155
|
gets
|
Command 156
|
[w]getstr
|
Command 157
|
gettimeofday
|
Command 158
|
getuid
|
Command 159
|
getw
|
Command 160
|
getwc
|
Command 161
|
getwchar
|
Command 162
|
getyx
|
Command 163
|
gmtime, gmtime_r
|
Command 164
|
gsignal
|
Command 165
|
hypot
|
Command 166
|
iconv
|
Command 167
|
iconv_close
|
Command 168
|
iconv_open
|
Command 169
|
[w]inch
|
Command 170
|
index
|
Command 171
|
initscr
|
Command 172
|
initstate
|
Command 173
|
[w]insch
|
Command 174
|
[w]insertln
|
Command 175
|
[w]insstr
|
Command 176
|
isalnum
|
Command 177
|
isalpha
|
Command 178
|
isapipe
|
Command 179
|
isascii
|
Command 180
|
isatty
|
Command 181
|
iscntrl
|
Command 182
|
isdigit
|
Command 183
|
isgraph
|
Command 184
|
islower
|
Command 185
|
isprint
|
Command 186
|
ispunct
|
Command 187
|
isspace
|
Command 188
|
isupper
|
Command 189
|
iswalnum
|
Command 190
|
iswalpha
|
Command 191
|
iswcntrl
|
Command 192
|
iswctype
|
Command 193
|
iswdigit
|
Command 194
|
iswgraph
|
Command 195
|
iswlower
|
Command 196
|
iswprint
|
Command 197
|
iswpunct
|
Command 198
|
iswspace
|
Command 199
|
iswupper
|
Command 200
|
iswxdigit
|
Command 201
|
isxdigit
|
Command 202
|
jrand48
|
Command 203
|
kill
|
Command 204
|
labs
|
Command 205
|
lcong48
|
Command 206
|
ldexp
|
Command 207
|
ldiv
|
Command 208
|
leaveok
|
Command 209
|
localeconv
|
Command 210
|
localtime, localtime_r
|
Command 211
|
log, log10
|
Command 212
|
longjmp
|
Command 213
|
longname
|
Command 214
|
lrand48
|
Command 215
|
lseek
|
Command 216
|
lwait
|
Command 217
|
malloc
|
Command 218
|
mblen
|
Command 219
|
mbrlen
|
Command 220
|
mbrtowc
|
Command 221
|
mbstowcs
|
Command 222
|
mbtowc
|
Command 223
|
mbsinit
|
Command 224
|
mbsrtowcs
|
Command 225
|
memccpy
|
Command 226
|
memchr
|
Command 227
|
memcmp
|
Command 228
|
memcpy
|
Command 229
|
memmove
|
Command 230
|
memset
|
Command 231
|
mkdir
|
Command 232
|
mkstemp
|
Command 233
|
mktemp
|
Command 234
|
mktime
|
Command 235
|
mmap
|
Command 236
|
modf
|
Command 237
|
[w]move
|
Command 238
|
mprotect
|
Command 239
|
mrand48
|
Command 240
|
msync
|
Command 241
|
munmap
|
Command 242
|
mv[w]addch
|
Command 243
|
mv[w]addstr
|
Command 244
|
mvcur
|
Command 245
|
mv[w]delch
|
Command 246
|
mv[w]getch
|
Command 247
|
mv[w]getstr
|
Command 248
|
mv[w]inch
|
Command 249
|
mv[w]insch
|
Command 250
|
mv[w]insstr
|
Command 251
|
mvwin
|
Command 252
|
newwin
|
Command 253
|
nice
|
Command 254
|
[no]nl
|
Command 255
|
nl_langinfo
|
Command 256
|
nrand48
|
Command 257
|
open
|
Command 258
|
opendir
|
Command 259
|
overlay
|
Command 260
|
overwrite
|
Command 261
|
pathconf
|
Command 262
|
pause
|
Command 263
|
pclose
|
Command 264
|
perror
|
Command 265
|
pipe
|
Command 266
|
popen
|
Command 267
|
pow
|
Command 268
|
printf
|
Command 269
|
[w]printw
|
Command 270
|
putc
|
Command 271
|
putchar
|
Command 272
|
putenv
|
Command 273
|
puts
|
Command 274
|
putw
|
Command 275
|
putwc
|
Command 276
|
putwchar
|
Command 277
|
qabs, llabs (ALPHA ONLY)
|
Command 278
|
qdiv, lldiv (ALPHA ONLY)
|
Command 279
|
qsort
|
Command 280
|
raise
|
Command 281
|
rand
|
Command 282
|
random
|
Command 283
|
[no]raw
|
Command 284
|
read
|
Command 285
|
readdir
|
Command 286
|
realloc
|
Command 287
|
[w]refresh
|
Command 288
|
remove
|
Command 289
|
rename
|
Command 290
|
rewind
|
Command 291
|
rewinddir
|
Command 292
|
rindex
|
Command 293
|
rmdir
|
Command 294
|
sbrk
|
Command 295
|
scanf
|
Command 296
|
[w]scanw
|
Command 297
|
scroll
|
Command 298
|
scrollok
|
Command 299
|
seed48
|
Command 300
|
seekdir
|
Command 301
|
[w]setattr
|
Command 302
|
setbuf
|
Command 303
|
setenv
|
Command 304
|
setgid
|
Command 305
|
setitimer
|
Command 306
|
setjmp
|
Command 307
|
setlocale
|
Command 308
|
setstate
|
Command 309
|
setuid
|
Command 310
|
setvbuf
|
Command 311
|
sigaction
|
Command 312
|
sigaddset
|
Command 313
|
sigblock
|
Command 314
|
sigdelset
|
Command 315
|
sigemptyset
|
Command 316
|
sigfillset
|
Command 317
|
sigismember
|
Command 318
|
siglongjmp
|
Command 319
|
sigmask
|
Command 320
|
signal
|
Command 321
|
sigpause
|
Command 322
|
sigpending
|
Command 323
|
sigprocmask
|
Command 324
|
sigsetjmp
|
Command 325
|
sigsetmask
|
Command 326
|
sigstack (VAX ONLY)
|
Command 327
|
sigsuspend
|
Command 328
|
sigvec
|
Command 329
|
sin
|
Command 330
|
sinh
|
Command 331
|
sleep
|
Command 332
|
sprintf
|
Command 333
|
sqrt
|
Command 334
|
srand
|
Command 335
|
srand48
|
Command 336
|
srandom
|
Command 337
|
sscanf
|
Command 338
|
ssignal
|
Command 339
|
[w]standend
|
Command 340
|
[w]standout
|
Command 341
|
stat
|
Command 342
|
strcasecmp
|
Command 343
|
strcat
|
Command 344
|
strchr
|
Command 345
|
strcmp
|
Command 346
|
strcoll
|
Command 347
|
strcpy
|
Command 348
|
strcspn
|
Command 349
|
strdup
|
Command 350
|
strerror
|
Command 351
|
strfmon
|
Command 352
|
strftime
|
Command 353
|
strlen
|
Command 354
|
strncasecmp
|
Command 355
|
strncat
|
Command 356
|
strncmp
|
Command 357
|
strncpy
|
Command 358
|
strnlen
|
Command 359
|
strpbrk
|
Command 360
|
strptime
|
Command 361
|
strrchr
|
Command 362
|
strsep
|
Command 363
|
strspn
|
Command 364
|
strstr
|
Command 365
|
strtod
|
Command 366
|
strtok
|
Command 367
|
strtol
|
Command 368
|
strtoq, strtoll (ALPHA ONLY)
|
Command 369
|
strtoul
|
Command 370
|
strtouq, strtoull (ALPHA ONLY)
|
Command 371
|
strxfrm
|
Command 372
|
subwin
|
Command 373
|
swab
|
Command 374
|
swprintf
|
Command 375
|
swscanf
|
Command 376
|
sysconf
|
Command 377
|
system
|
Command 378
|
tan
|
Command 379
|
tanh
|
Command 380
|
telldir
|
Command 381
|
tempnam
|
Command 382
|
time
|
Command 383
|
times
|
Command 384
|
tmpfile
|
Command 385
|
tmpnam
|
Command 386
|
toascii
|
Command 387
|
tolower
|
Command 388
|
_tolower
|
Command 389
|
touchwin
|
Command 390
|
toupper
|
Command 391
|
_toupper
|
Command 392
|
towctrans
|
Command 393
|
towlower
|
Command 394
|
towupper
|
Command 395
|
truncate
|
Command 396
|
ttyname
|
Command 397
|
tzset
|
Command 398
|
ualarm
|
Command 399
|
umask
|
Command 400
|
uname
|
Command 401
|
ungetc
|
Command 402
|
ungetwc
|
Command 403
|
unsetenv
|
Command 404
|
usleep
|
Command 405
|
VAXC$CRTL_INIT
|
Command 406
|
VAXC$ESTABLISH
|
Command 407
|
va_arg
|
Command 408
|
va_count
|
Command 409
|
va_end
|
Command 410
|
va_start_1, va_start
|
Command 411
|
vfork
|
Command 412
|
vfprintf
|
Command 413
|
vfwprintf
|
Command 414
|
vprintf
|
Command 415
|
vswprintf
|
Command 416
|
vwprintf
|
Command 417
|
vsprintf
|
Command 418
|
wait
|
Command 419
|
wait3
|
Command 420
|
wait4
|
Command 421
|
waitpid
|
Command 422
|
wcrtomb
|
Command 423
|
wcscat
|
Command 424
|
wcschr
|
Command 425
|
wcscmp
|
Command 426
|
wcscoll
|
Command 427
|
wcscpy
|
Command 428
|
wcscspn
|
Command 429
|
wcsftime
|
Command 430
|
wcslen
|
Command 431
|
wcsncat
|
Command 432
|
wcsncmp
|
Command 433
|
wcsncpy
|
Command 434
|
wcspbrk
|
Command 435
|
wcsrchr
|
Command 436
|
wcsrtombs
|
Command 437
|
wcsspn
|
Command 438
|
wcsstr
|
Command 439
|
wcstod
|
Command 440
|
wcstok
|
Command 441
|
wcstol
|
Command 442
|
wcstombs
|
Command 443
|
wcstoul
|
Command 444
|
wcswcs
|
Command 445
|
wcswidth
|
Command 446
|
wcsxfrm
|
Command 447
|
wctob
|
Command 448
|
wctomb
|
Command 449
|
wctrans
|
Command 450
|
wctype
|
Command 451
|
wcwidth
|
Command 452
|
wmemchr
|
Command 453
|
wmemcmp
|
Command 454
|
wmemcpy
|
Command 455
|
wmemmove
|
Command 456
|
wmemset
|
Command 457
|
wprintf
|
Command 458
|
wrapok
|
Command 459
|
write
|
Command 460
|
wscanf
|