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

LibCore: Add syscall wrapper for close()

This commit is contained in:
Andreas Kling 2021-11-23 12:05:56 +01:00
parent adb9b86807
commit 4bf08e4d52
2 changed files with 9 additions and 0 deletions

View file

@ -23,5 +23,6 @@ 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, ...);
ErrorOr<void> close(int fd);
}