7526 DCT Reference
c library function usage
The 7526 program environment is different from PC-DOS, and thus
not all the
IBM C/2 library functions can be supported on the 7526. In general,
all functions that are hardware or operating system dependent cannot be
used by the 7526 application programs. The following is a list of
categories of such C library functions.
- Directory Control
- Examples are (chdir, mkdir, rmdir). The 7526 does not support a
file system.
- File Handling
- Examples are (fopen, rename). The 7526 does not support a file
system.
- Standard I/O
- Examples are (getc, putc, gets, puts). The 7526 does not support
DOS INT 21 functions. The API keypad and video function calls
support these features on the 7526.
- Math (floating point)
- Examples are (_clear87, _control87). The 7526 does not
support a math coprocessor. These calls may be used with floating point
emulation.
- Allocation Storage
- Examples are (alloc, free, halloc). These calls are operating
system dependent. The 7526 does not support dynamic memory management.
- Process Control
- Examples are (abort, exit, signal). The 7526 does not directly
support multi-processing.
- Time
- Examples are (asctime, ctime, time). The API Real Time Clock
function calls support these features in the 7526.
- Printf
- The printf, sprintf, scanf, etc. family of library routines should not
be used because they pull in routines which are specific to
personal computers hardware devices.