Module Interface libc

SUMMARY: MODULE | CLASS | TYPE | PROC | VAR | CONST | DETAIL: TYPE | PROC | VAR | CONST

# libc

This module defines some C functions for the convenience of modules of the standard library. The declarations may be changed, moved, or removed without prior notice.

The module C holds type and constant definitions for often used entities, while this module declares functions. The reason for this separation is that ``FOREIGN`' or ``INTERFACE`' modules must be able to import the definitions of C, without pulling in any function prototypes that clash with the standard headers of the C library.

### Import List

        C

Procedure Summary
sprintf(VAR ARRAY OF CHAR, ARRAY OF CHAR)
sscanf(address, ARRAY OF CHAR): int
strtod(address, VAR charPtr1d): double
strtof(address, VAR charPtr1d): float

Procedure Detail

### sprintf

    PROCEDURE sprintf(VAR s: ARRAY OF CHAR;
                      template: ARRAY OF CHAR)

### sscanf

    PROCEDURE sscanf(s: address;
                     template: ARRAY OF CHAR): int

### strtod

    PROCEDURE strtod(string: address;
                     VAR tailptr: charPtr1d): double

### strtof

    PROCEDURE strtof(string: address;
                     VAR tailptr: charPtr1d): float