24 lines
496 B
Markdown
24 lines
496 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).
|
|
3. Build static library
|
|
```
|
|
cd tlibc
|
|
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());
|
|
```
|