Function Type | Function Name |
---|---|
Mathematical | abs(), fabs() |
Memory manipulation | memchr(), memcmp(), memcpy(), memset(), cds(), cs() |
String operations | strcat(), strchr(), strcmp(), strcpy(), strlen(), strrchr() |
Wide character memory manipulation | wmemchr(), wmemcmp(), wmemcpy(), wmemset() |
The built-in versions of these functions are available only if the appropriate header file (string.h, wchar.h, math.h, or stdlib.h) is included in the source file. The use of these functions is described in z/OS XL C/C++ Runtime Library Reference.
Storage allocated by these functions is not part of the heap, so freeing it is your responsibility. You can use the free() function to free the storage before the environment is terminated. Storage allocated using these functions is not automatically freed when the environment is terminated.
In this environment, low-level memory management functions and contents supervision (loading and deleting executable code) are supported by low-level routines that you can replace to support non-standard environments. This is described in Tailoring the system programming C environment.