2026-02-27 13:18:49 +00:00
2026-02-27 13:07:57 +00:00
2026-02-27 13:07:18 +00:00
2026-02-26 23:01:48 +00:00
2026-02-27 13:18:49 +00:00

StdWullie

this lib is an attempt to make some better functions without the use of glibC

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

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

Description
some functions i made without glibC
Readme 47 KiB
Languages
C 95.2%
Makefile 4.8%