1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:28:11 +00:00

Kernel+LibC+UE: Implement usleep() via sys$clock_nanosleep()

This doesn't need to be its own syscall. Thanks @BenWiederhake for
the idea. :^)
This commit is contained in:
Andreas Kling 2020-08-30 10:43:15 +02:00
parent 95ed363b15
commit f857f3ce4c
5 changed files with 4 additions and 22 deletions

View file

@ -117,7 +117,6 @@ namespace Kernel {
S(poll) \
S(rmdir) \
S(chmod) \
S(usleep) \
S(socket) \
S(bind) \
S(accept) \
@ -241,7 +240,7 @@ struct ImmutableBufferArgument {
};
struct StringListArgument {
Userspace<StringArgument*> strings { };
Userspace<StringArgument*> strings {};
size_t length { 0 };
};