1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:37:36 +00:00

LibCore: Add syscall wrapper for open()

This commit is contained in:
Andreas Kling 2021-11-23 11:59:16 +01:00
parent 094fa900a3
commit 50416c286d
2 changed files with 24 additions and 0 deletions

View file

@ -22,5 +22,6 @@ ErrorOr<struct stat> fstat(int fd);
ErrorOr<int> fcntl(int fd, int command, ...);
ErrorOr<void*> mmap(void* address, size_t, int protection, int flags, int fd, off_t, size_t alignment = 0, StringView name = {});
ErrorOr<void> munmap(void* address, size_t);
ErrorOr<int> open(StringView path, int options, ...);
}