C Library

From OSDev.wiki
Revision as of 05:35, 27 May 2012 by Solar (talk | contribs) (Added C11 as the latest in the list.)
Jump to navigation Jump to search
This page is a stub.
You can help the wiki by accurately adding more contents to it.

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.