diff options
Diffstat (limited to 'src/sys/times')
| -rw-r--r-- | src/sys/times/struct_tms.c | 12 | ||||
| -rw-r--r-- | src/sys/times/times.c | 11 |
2 files changed, 23 insertions, 0 deletions
diff --git a/src/sys/times/struct_tms.c b/src/sys/times/struct_tms.c new file mode 100644 index 00000000..8e70958b --- /dev/null +++ b/src/sys/times/struct_tms.c @@ -0,0 +1,12 @@ +#include <sys/times.h> + +struct tms { + clock_t tms_utime; + clock_t tms_stime; + clock_t tms_cutime; + clock_t tms_cstime; +}; + +/* +POSIX(1) +*/ diff --git a/src/sys/times/times.c b/src/sys/times/times.c new file mode 100644 index 00000000..753d66ae --- /dev/null +++ b/src/sys/times/times.c @@ -0,0 +1,11 @@ +#include "time.h" +#include <sys/times.h> + +clock_t times(struct tms *buffer) +{ + (void)buffer; + return (clock_t)-1; +} +/* +POSIX(1) +*/ |
