Standard function library – Argox PA-20 Programming Guide User Manual

Page 9

Advertising
background image

PT-20 Programming Guide

7

Standard Function Library

The user application program in the data collector can perform the tasks to combine

standard C language function library. The function library is enclosed in the

developing environment (RealView Developer Suite). After set up the developing

environment, you can find the include head file of standard C language function

library in the directory

\\ARM\RVCT\Data\2.2\349\include\windows

. The following

are the available include head file list in standard C language function library:

<assert.h>

__assert ;

<ctype.h>

isalnum; isalpha; iscntrl; isdigit; isgraph; islower; ispr; ispunct;

isspace; isupper; isxdigit; tolower; toupper;

<locale.h>

setlocale; localeconv;

<math.h>

acos; asin; atan; atan2; cos; sin; tan; cosh;

sinh; tanh; exp; frexp; ldexp; log; log10; modf;

pow; sqrt; ceil; fabs;__d_abs; floor; fmod;

<setjmp.h>

setjmp; longjmp;

<signal.h>

signal; raise;

<stdio.h>

sprintf; sscanf;

<stdlib.h>

atof; atoi; long atol; strtod; long strtol; strtoul; rand; srand;

_ANSI_rand; _ANSI_srand; abort; atexit; exit; getenv; system; bsearch;

qsort; abs; long labs;

<string.h>

strcpy; strncpy; strcat; strncat; memcmp; strcmp; strncmp; strcoll; strxfrm; strstr;

memset; strlen;

If you need to use standard C language functions in the user program, please add

#include <header file name> in the top of the file to import the correlated include

head files. See following example:

#include <stdio.h>

Advertising