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

LibCore: Add ioctl() syscall wrapper

This commit is contained in:
Andreas Kling 2021-11-29 23:07:33 +01:00
parent 9815ad556a
commit 90aa1abfed
2 changed files with 13 additions and 0 deletions

View file

@ -36,5 +36,6 @@ ErrorOr<int> dup(int source_fd);
ErrorOr<int> dup2(int source_fd, int destination_fd);
ErrorOr<String> ptsname(int fd);
ErrorOr<String> gethostname();
ErrorOr<void> ioctl(int fd, unsigned request, ...);
}