diff options
author | Ron Yorston <rmy@pobox.com> | 2020-04-06 09:03:52 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2020-04-06 09:03:52 +0100 |
commit | 9181e1363f09f80ba822175886450b751e408f14 (patch) | |
tree | 000415bab289dd387e9217db9c1da7b0c2bf8549 /include | |
parent | 4ecfc9fc115221ec66769915bf02ac37c40ffcd5 (diff) | |
download | busybox-w32-9181e1363f09f80ba822175886450b751e408f14.tar.gz busybox-w32-9181e1363f09f80ba822175886450b751e408f14.tar.bz2 busybox-w32-9181e1363f09f80ba822175886450b751e408f14.zip |
time: WIN32 port
Port the time applet to WIN32. This requires the implemntation of
a replacement for wait3(2).
Only elapsed, user and system times are supported, not the memory
and i/o statistics reported by GNU time.
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mingw.h b/include/mingw.h index 3d0daee38..3516cd31c 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -347,7 +347,8 @@ int mingw_fstat(int fd, struct mingw_stat *buf); | |||
347 | */ | 347 | */ |
348 | #define WNOHANG 1 | 348 | #define WNOHANG 1 |
349 | #define WUNTRACED 2 | 349 | #define WUNTRACED 2 |
350 | int waitpid(pid_t pid, int *status, int options); | 350 | pid_t waitpid(pid_t pid, int *status, int options); |
351 | pid_t mingw_wait3(pid_t pid, int *status, int options, struct rusage *rusage); | ||
351 | 352 | ||
352 | /* | 353 | /* |
353 | * time.h | 354 | * time.h |