663 B
663 B
tlibc
C library with collections, strings, exceptions, io...
Build
-
Clone this repository.
git clone https://timerix.ddns.net/git/Timerix/tlibc.git -
Install cbuild. Select latest version compatible with the one in
project.config. Example: For2.3.0download latest2.3.x. -
Build static library
cd tlibc cbuild build_static_lib_dbg
Usage
#include "tlibc/tlibc.h"
int main(){
Deferral(32); // reserve memory for 32 defers
try_fatal_void(tlibc_init());
Defer(tlibc_deinit());
Return 0; // call defers
}