userspace/libc: implement std more functions

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
2025-01-27 23:30:07 +02:00
parent f5a813380b
commit 2f71bccef2
15 changed files with 597 additions and 55 deletions

View File

@ -51,7 +51,7 @@ extern "C"
long a64l(const char *);
void abort(void);
int abs(int);
int abs(int i);
int atexit(void (*func)(void));
double atof(const char *);
int atoi(const char *);
@ -66,7 +66,7 @@ extern "C"
char *fcvt(double, int, int *, int *);
void free(void *ptr);
char *gcvt(double, int, char *);
char *getenv(const char *);
char *getenv(const char *name);
int getsubopt(char **, char *const *, char **);
int grantpt(int);
char *initstate(unsigned int, char *, size_t);