Renamed include file aros/_timeval.h to aros/types/timeval_s.h.
[AROS.git] / compiler / clib / times.c
bloba990dce93d7c8bb9f854e2aa977e5f0303ebe34a
1 /*
2 Copyright © 2004-2010, The AROS Development Team. All rights reserved.
3 $Id$
5 POSIX function times().
6 */
8 #include <aros/debug.h>
9 #include <errno.h>
11 /*****************************************************************************
13 NAME */
15 #include <sys/times.h>
17 clock_t times(
19 /* SYNOPSIS */
20 struct tms *tms)
22 /* FUNCTION
24 INPUTS
26 RESULT
28 NOTES
30 EXAMPLE
32 BUGS
34 SEE ALSO
36 INTERNALS
38 ******************************************************************************/
40 /* FIXME: Implement times() */
41 AROS_FUNCTION_NOT_IMPLEMENTED("arosc");
42 errno = ENOSYS;
44 tms->tms_utime = 0;
45 tms->tms_stime = 0;
46 tms->tms_cutime = 0;
47 tms->tms_cstime = 0;
49 return -1;