mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:57:34 +00:00
LibCore+LibC: Add putenv() wrapper
This is made safe with a special serenity_putenv() function in LibC.
This commit is contained in:
parent
f4236e61bf
commit
eea4dc5bfe
4 changed files with 24 additions and 0 deletions
|
@ -28,6 +28,7 @@ __attribute__((alloc_size(2))) void* realloc(void* ptr, size_t);
|
|||
char* getenv(char const* name);
|
||||
char* secure_getenv(char const* name);
|
||||
int putenv(char*);
|
||||
int serenity_putenv(char const* new_var, size_t length);
|
||||
int unsetenv(char const*);
|
||||
int clearenv(void);
|
||||
int setenv(char const* name, char const* value, int overwrite);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue