mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-10 11:36:22 +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
Notes:
sideshowbarker
2024-07-17 16:42:19 +09:00
Author: https://github.com/MacDue
Commit: eea4dc5bfe
Pull-request: https://github.com/SerenityOS/serenity/pull/17309
Reviewed-by: https://github.com/timschumi
Reviewed-by: https://github.com/trflynn89
4 changed files with 24 additions and 0 deletions
|
@ -207,6 +207,7 @@ ErrorOr<void> setgroups(Span<gid_t const>);
|
|||
ErrorOr<void> mknod(StringView pathname, mode_t mode, dev_t dev);
|
||||
ErrorOr<void> mkfifo(StringView pathname, mode_t mode);
|
||||
ErrorOr<void> setenv(StringView, StringView, bool);
|
||||
ErrorOr<void> putenv(StringView);
|
||||
ErrorOr<int> posix_openpt(int flags);
|
||||
ErrorOr<void> grantpt(int fildes);
|
||||
ErrorOr<void> unlockpt(int fildes);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue