Upload files to "/"

This commit is contained in:
2026-02-27 13:14:35 +00:00
parent 835a372836
commit e936189eb7
2 changed files with 55 additions and 3 deletions

View File

@@ -2,21 +2,46 @@
this lib is an attempt to make some better functions without the use of glibC
# WARNING
to my knowledge this only works on linux thanks to some systemcalls
# OS support
x64 Linux
x64 freebsd(not tested yet)
## features
- print: just prints text to console
- ColorPrint: changes the foreground color of text to an ANSI color
- BackgroundPrint: changs the background color of text to an ANSI color
- safeError: calls exit -1 and prints a brief description
- riskyError: prints error but continues
- Wopen: opens a file
- closeFile: closes an open file
- mkdir: does what it says on the tin
- sleeper: forces a system interupt for X number of seconds
- lengthStr: gets the length of a string
- parseInt: takes the ascii numbers and converst them into an int e.g '1' into 1
- invSqrt: fast inverse square root
## how to build
to build all thats needed is the gcc compiler and a version of linux
there is 2 version that can be built a shared lib and an executable, the latter is for testing the functions
### commands
these first command are the same for both versions
- git clone https://git.wulliestudio.com/wullie/libstdwullie
- cd libstdwullie
#### executable
- gcc -I ./include src/*.c -nostdlib -fno-stack-protector -o stdwullie
- ./stdwullie
#### sharedlib
- make clean
## license
this sofware is licensed under wrathmark license see licence folder for more info
## words of wisdom
do not stare at the abyss for to long for not only does it stare back it screams