LibC: Implement clearenv

This is GNU extension but seems nice to have :D
This commit is contained in:
2025-05-21 18:11:22 +03:00
parent 7eade002a7
commit 8aa4e4ff1e
2 changed files with 31 additions and 2 deletions

View File

@@ -51,6 +51,7 @@ long atol(const char* str);
long long atoll(const char* str);
void* bsearch(const void* key, const void* base, size_t nel, size_t width, int (*compar)(const void*, const void*));
void* calloc(size_t nelem, size_t elsize);
int clearenv(void);
div_t div(int numer, int denom);
double drand48(void);
double erand48(unsigned short xsubi[3]);