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

Kernel: Use Userspace<T> for the clock_gettime syscall

This commit is contained in:
Brian Gianforcaro 2020-08-09 12:42:51 -07:00 committed by Andreas Kling
parent 48d9f3c2e6
commit b4d04fd8d1
2 changed files with 3 additions and 4 deletions

View file

@ -247,7 +247,7 @@ public:
int sys$sleep(unsigned seconds);
int sys$usleep(useconds_t usec);
int sys$gettimeofday(Userspace<timeval*>);
int sys$clock_gettime(clockid_t, timespec*);
int sys$clock_gettime(clockid_t, Userspace<timespec*>);
int sys$clock_settime(clockid_t, timespec*);
int sys$clock_nanosleep(Userspace<const Syscall::SC_clock_nanosleep_params*>);
int sys$gethostname(char*, ssize_t);