cfunction statement

The cfunction statement provides access to C libraries from BASIC.

Syntax

cfunction name{,name...}

Three libraries are defined:

gm.builtin Provided as part of D3.
unix.builtin Provided as part of D3.
user.builtin Provided for user-written C routines.

If only the C programs defined in the common.builtin libraries are used, the cfunction statement is optional. If user-defined or third party C programs are used, the cfunction user.builtin statement is required.

The user.builtin table is maintained with the TCL addbi command.

Example(s)

cfunction unix.builtin
cfunction user.builtin, gm.builtin