1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 16:37:47 +00:00

LibCore: Add wrapper for posix_openpt(), grantpt() and unlockpt()

This commit is contained in:
Lucas CHOLLET 2022-03-01 23:44:53 +01:00 committed by Andreas Kling
parent ddf9987c39
commit 5d29f64c99
2 changed files with 27 additions and 0 deletions

View file

@ -146,5 +146,8 @@ ErrorOr<Vector<gid_t>> getgroups();
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<int> posix_openpt(int flags);
ErrorOr<void> grantpt(int fildes);
ErrorOr<void> unlockpt(int fildes);
}