A small C library with usual functions, freely inspired by The Open Group Base Specifications Issue 7, 2018 edition.
/!\ Warning : some parts of the documentation may temporary not be up to date, sorry :'(
If you want to use the full library, including all modules can be done typing a single line :
#include "lib_rt/lib_rt.h"
However, this will not include the testing module. See the lib_rtest documentation for this module.
If you want to use only a few modules, it is possible to do more specific includes. You may refer to the corresponding documentation, or have a look at the list of the available modules in the next section.
/!\ Warning : though parts of <stdio.h>
are re-implemented, this library relies on it, and may rely in the future on other libraries.
This library also relies on <stdlib.h>
for the lrt_assert module.
A free implementation of <assert.h>
.
To include this header, use :
#include "lib_rt/lrt_assert/lrt_assert.h"
This module relies on :
<stdlib.h>
<stdio.h>
A free implementation of <ctype.h>
.
To include this module, use :
#include "lib_rt/lrt_ctype/lrt_ctype.h"
Tests are available separately in the lrtest_ctype repository (see lib_rtest).
A free implementation of <limits.h>
.
To include this header, use :
#include "lib_rt/lrt_limits/lrt_limits.h"
A free implementation of <stdbool.h>
.
To include this header, use :
#include "lib_rt/lrt_stdbool/lrt_stdbool.h"
A free and partial implementation of <stdio.h>
.
To include this header, use :
#include "lib_rt/lrt_stdio/lrt_stdio.h"
This module relies on :
<stdio.h>
Testing module of lib_rt.
To include all headers and sub-modules of this module, use :
#include "lib_rt/lib_rtest/lib_rtest.h"
Testing functions for lrt_assert.
To include this sub-module, use :
#include "lib_rt/lib_rtest/lrt_assert/lrt_assert.h"
This module relies on :
<stdio.h>
lrt_assert.h
lrt_stdbool.h
Testing functions for lrt_ctype.
To include this sub-module, use :
#include "lib_rt/lib_rtest/lrt_ctype/lrt_ctype.h"
Testing functions for lrt_stdbool.
To include this sub-module, use :
#include "lib_rt/lib_rtest/lrt_stdbool/lrt_stdbool.h"
This module relies on :
lrt_assert.h
lrt_stdbool.h