Update README.md

This commit is contained in:
2026-08-12 23:07:49 +00:00
parent 284bc1b70e
commit 693a3edd41
+6 -5
View File
@@ -8,17 +8,18 @@ this lib is an attempt to make some better functions without the use of glibC
## features ## features
- print: just prints text to console - print.text: just prints text to console
- ColorPrint: changes the foreground color of text to an ANSI color - print.nl: does the same but adds a new line after the text
- BackgroundPrint: changs the background color of text to an ANSI color - print.colour: changes the foreground color of text to an ANSI color
- safeError: calls exit -1 and prints a brief description - print.background: changs the background color of text to an ANSI color
- safeError: calls exit -1 and prints a brief description supports custom text or NULL
- riskyError: prints error but continues - riskyError: prints error but continues
- Wopen: opens a file - Wopen: opens a file
- closeFile: closes an open file - closeFile: closes an open file
- mkdir: does what it says on the tin - mkdir: does what it says on the tin
- sleeper: forces a system interupt for X number of seconds - sleeper: forces a system interupt for X number of seconds
- lengthStr: gets the length of a string - lengthStr: gets the length of a string
- parseInt: takes the ascii numbers and converst them into an int e.g '1' into 1 - convert.toInt: takes the ascii numbers and converst them into an int e.g '1' into 1
- invSqrt: fast inverse square root - invSqrt: fast inverse square root
## how to build ## how to build