7.5 Library Function

This section explains Library Function.

When specifications differ between C90 and C99, (C90) is written for C90 library functions and (C99) is written for C99 library functions. [V1.07 or later]

 

When using a standard or mathematical library, the header file must be included.

When the -far_rom option is specified, in order to match the interface of the near/far attribute of the pointer, macro replacement is performed for the functions in the header file and then the function for the far variable pointer is called.

When one of the parameters is a pointer, the far pointer is used fixedly for format specification of the standard I/O functions and token division of the string operation functions. All other cases are dependent on the memory model and -far_rom option.

If the far pointer is passed as a parameter when small model or medium model is specified, the function for the far variable pointer is called.

In order to use a mathematical function of the float type when double-precision is specified, call a mathematical function for the float type, in which "f" is appended to the end of the function name.