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:
parent
094fa900a3
commit
50416c286d
2 changed files with 24 additions and 0 deletions
|
@ -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, ...);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue