LibC: implement setenv, unsetenv, putenv

This commit is contained in:
Bananymous
2023-06-05 22:43:26 +03:00
parent 55ea5c5488
commit 24993f6020
6 changed files with 138 additions and 1 deletions

View File

@@ -57,6 +57,8 @@ namespace Kernel
int block_until_exit();
BAN::ErrorOr<pid_t> wait(pid_t pid, int* stat_loc, int options);
BAN::ErrorOr<void> setenvp(char** envp);
BAN::ErrorOr<int> open(BAN::StringView, int);
BAN::ErrorOr<void> close(int fd);
BAN::ErrorOr<size_t> read(int fd, void* buffer, size_t count);