libc: port FreeBSD string library routines

Oh my fucking god this was by far the most awful
and boring and tedious day in my entire life.

Also, dear FreeBSD people: please don't sue me.
I tried really hard to comply with all the
copyright stuff, but it is absolutely possible i
made a mistake.  Just DM me and i'll do everything
in my power to fix it, even if that means
releasing entire portions of GayBSD under the BSD
license.  I don't care, i just want stuff to work.

(i'm including this message to use it as possible
evidence in case i get sued to show my good will)
This commit is contained in:
anna 2021-10-10 05:41:16 +02:00
parent 4679b7cee5
commit 0f9e9f91a6
Signed by: fef
GPG key ID: EC22E476DC2D3D84
87 changed files with 6662 additions and 235 deletions

2
lib/c/string/bzero.c Normal file
View file

@ -0,0 +1,2 @@
#define BZERO
#include "memset.c"