C Library
The C standard library provides basic functionality such as string manipulation, basic I/O, and memory allocation. Whether you're writing a kernel in C or you plan on supporting existing C programs, you'll want to use it.
Types
The C standard describes two versions of the C standard library. The compleat, hosted, library and the freestanding one, providing only a subset of the hosted library that doesn't need to interact with the environment. System software should typically use the former, while applications should have the latter available.
Implementations
There exists a myraid of implementations of the standard library avalible at your disposal. Here are some of them:
Using one of the aforementioned implementations may be a viable solution but you may instead wish to roll your own.
Standards
After deciding which version of the C standard you will write your project in, you will need to grab the appropriate specification to work from.
- C89/C90
- ISO Publication
- AU Ratified
- UK Ratified
- C99
- ISO Publication
- C11
- ISO Publication