aboutsummaryrefslogtreecommitdiff
path: root/win32/sys
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2020-04-06 09:03:52 +0100
committerRon Yorston <rmy@pobox.com>2020-04-06 09:03:52 +0100
commit9181e1363f09f80ba822175886450b751e408f14 (patch)
tree000415bab289dd387e9217db9c1da7b0c2bf8549 /win32/sys
parent4ecfc9fc115221ec66769915bf02ac37c40ffcd5 (diff)
downloadbusybox-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 'win32/sys')
-rw-r--r--win32/sys/resource.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/win32/sys/resource.h b/win32/sys/resource.h
index e69de29bb..3220d8112 100644
--- a/win32/sys/resource.h
+++ b/win32/sys/resource.h
@@ -0,0 +1,11 @@
1#ifndef _SYS_RESOURCE_H
2#define _SYS_RESOURCE_H 1
3
4#include <time.h>
5
6struct rusage {
7 struct timeval ru_utime;
8 struct timeval ru_stime;
9};
10
11#endif