next up previous contents index
Next: 13.2 Malloc Support Up: 13 FreeBSD C Library: Previous: 13 FreeBSD C Library:

13.1 Introduction

The FreeBSD C library is provided as an alternative to the OSKit's minimal C library (see Section 9) so that more sophisicated applications can be built. It is derived from version 2.2.2. In addition to the standard single threaded version of the library, a multi threaded version is also built which relies on the pthread library (see Section 18) to supply the locking primitives. Both of these libraries can be found in the lib directory as oskit_freebsd_c.a and oskit_freebsd_c_r.a. In order to link with the FreeBSD C library, the application must be compiled against the FreeBSD C header files. Example kernels that are built with the FreeBSD libraries can be found in the examples/extended and examples/threads directories.

The following sections briefly describe the OSKit's implementation of the FreeBSD C library. Not all of the library is built since some parts do not make sense in the OSKit's basic environment. Those functions are listed below, as well as a list of the extended initialization functions.



University of Utah Flux Research Group