User`s guide
Unsupported C Functions
B-5
Supported C Functions
You can use ANSI C functions that do not use the Windows operating system
in your custom blocks or I/O drivers. The following includes a partial list of
supported functions:
•
Data conversion — abs, atof, atoi, atol, itoa, labs, ltoa, strtod, strtol,
strtoul
, ultoa
• Memory allocation — calloc, free, malloc
• Memory manipulation — _memccpy, memcpy, memchr, memcmp, _memicmp,
memmove, memset
• String manipulation — strcat, strchr, strcmp, strcpy, strcspn, _strdup,
_stricmp
, strlen, _strlwr, strncat, strncmp, strncpy, _strnset, strpbrk,
strrchr, _strrev, _strset, strspn, strstr, strtok, strupr
• Mathematical — acos, asin, atan, atan2, ceil, cos, cosh, div, exp, fabs,
floor, fmod, frexp, ldexp, ldiv, log, log10, max, min, modf, pow, rand, sin,
sinh, sqrt, srand, tan, tanh, uldiv
• Character class tests and conversion — isalnum, isalpha, _isascii,
iscntrl, isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
isxdigit, isxupper, isxlower, _toascii, tolower, toupper
• Searching and sorting — bsearch, qsort
• Dummy functions — exit, fprintf, prinf