4. Using Run-Time-Support Functions and Building LibrariesΒΆ
Some of the features of C/C++ (such as I/O, dynamic memory allocation, string operations, and trigonometric functions) are provided as an ANSI/ISO C/C++ standard library, rather than as part of the compiler itself. The TI implementation of this library is the run-time-support library (RTS). The C/C++ compiler implements the ISO standard library except for those facilities that handle exception conditions, signal and locale issues (properties that depend on local language, nationality, or culture). Using the ANSI/ISO standard library ensures a consistent set of functions that provide for greater portability.
In addition to the ANSI/ISO-specified functions, the run-time-support library includes routines that give you processor-specific commands and direct C language I/O requests. These are detailed in C and C++ Run-Time Support Libraries and The C I/O Functions.
- 4.1. C and C++ Run-Time Support Libraries
- 4.1.1. Linking Code With the Object Library
- 4.1.2. Header Files
- 4.1.3. Support for String and Character Handling
- 4.1.4. Support for time.h and time_t
- 4.1.5. Minimal Support for Internationalization
- 4.1.6. Allowable Number of Open Files
- 4.1.7. Nonstandard Header Files in the Source Tree
- 4.1.8. Library Naming Conventions
- 4.2. The C I/O Functions
- 4.3. Handling Reentrancy (_register_lock() and _register_unlock() Functions)