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