diff options
author | zzLinus <2385747226@qq.com> | 2022-07-25 11:09:30 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-07-25 15:33:50 +0200 |
commit | ca74443012b155ed3e90b9cd1fe04c11e5bf52f1 (patch) | |
tree | 9a3c2c80c228ae73d6eb4f2588fe69a7cf32ccd3 /Kernel/API | |
parent | a031b7a17432632a77f878cc193ccade181e78c9 (diff) | |
download | serenity-ca74443012b155ed3e90b9cd1fe04c11e5bf52f1.zip |
Kernel/LibC: Implement posix syscall clock_getres()
Diffstat (limited to 'Kernel/API')
-rw-r--r-- | Kernel/API/Syscall.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h index c973b14883..e1346fe25e 100644 --- a/Kernel/API/Syscall.h +++ b/Kernel/API/Syscall.h @@ -52,6 +52,7 @@ enum class NeedsBigProcessLock { S(chown, NeedsBigProcessLock::No) \ S(clock_gettime, NeedsBigProcessLock::No) \ S(clock_nanosleep, NeedsBigProcessLock::No) \ + S(clock_getres, NeedsBigProcessLock::No) \ S(clock_settime, NeedsBigProcessLock::No) \ S(close, NeedsBigProcessLock::No) \ S(connect, NeedsBigProcessLock::No) \ @@ -259,6 +260,11 @@ struct SC_clock_nanosleep_params { struct timespec* remaining_sleep; }; +struct SC_clock_getres_params { + int clock_id; + struct timespec* result; +}; + struct SC_accept4_params { sockaddr* addr; socklen_t* addrlen; |