diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-12-03 01:12:26 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-12-03 01:14:19 +0100 |
commit | e7cc08226f5af4711f8e8438d7132c35b10666ed (patch) | |
tree | def609f70bb376b9ab989c3b60792abbf2989147 /LibC/stdlib.cpp | |
parent | 4bc87dc7b99c4f7a9270e23e5958b4c93fe76033 (diff) | |
download | serenity-e7cc08226f5af4711f8e8438d7132c35b10666ed.zip |
Implement basic support for times().
The kernel now bills processes for time spent in kernelspace and userspace
separately. The accounting is forwarded to the parent process in reap().
This makes the "time" builtin in bash work.
Diffstat (limited to 'LibC/stdlib.cpp')
-rw-r--r-- | LibC/stdlib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibC/stdlib.cpp b/LibC/stdlib.cpp index fb5c737b05..1cb16f5a2f 100644 --- a/LibC/stdlib.cpp +++ b/LibC/stdlib.cpp @@ -5,8 +5,8 @@ #include <string.h> #include <alloca.h> #include <assert.h> -#include <Kernel/Syscall.h> #include <AK/Assertions.h> +#include <AK/Types.h> extern "C" { |