SPRAB89A September 2011 – March 2014
The TI toolset defines the stdlib.h structures as follows:
typedef struct { int quot; int rem; } div_t;
typedef struct { long int quot; long int rem; } ldiv_t;
typedef struct { long long int quot; long long int rem; } lldiv_t;
The TI toolset defines constants for use with the stdlib.h library as follows:
#define EXIT_SUCCESS 0
#define EXIT_FAILURE 1
#define MB_CUR_MAX 1
The results of the rand function are not defined by the ABI specification. The function is required to be thread-local. See Chapter 7.
This ABI specification does not require a library to implement either the getenv or system function. The TI toolset does provide a getenv function, which requires debugger support. The TI toolset does not provide a system function.