Real-Time Windows Target | ![]() |
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:
abs, atof, atoi, atol, itoa, labs, ltoa, strtod, strtol, strtoul, ultoa
calloc, free, malloc
_memccpy, memcpy, memchr, memcmp, _memicmp, memmove, memset
strcat, strchr, strcmp, strcpy, strcspn, _strdup, _stricmp, strlen, _strlwr, strncat, strncmp, strncpy, _strnset, strpbrk, strrchr, _strrev, _strset, strspn, strstr, strtok, strupr
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
-- isalnum, isalpha, _isascii, iscntrl, isdigit, isgraph, islower, isprint, ispunct, isspace, isupper, isxdigit, isxupper, isxlower, _toascii, tolower, toupper
bsearch, qsort
-- exit, fprintf, prinf
![]() | Nonsupported C Functions |