tlibc/README.md
2025-11-10 12:40:53 +05:00

24 lines
503 B
Markdown

# tlibc
C library with collections, strings, exceptions, io...
## Build
1. Clone the repository.
```
git clone https://timerix.ddns.net/git/Timerix/tlibc.git
```
2. Install [cbuild](https://timerix.ddns.net/git/Timerix/cbuild.git).
3. Build static library
```
cd tlibtoml
cbuild build_static_lib_dbg
```
## Usage
Include `tlibc/tlibc.h` and put this code at the beginning of `main()`.
```
Deferral(32);
try_fatal_void(tlibc_init());
Defer(tlibc_deinit());
```