Added very useful and convenient macro for parsing attribute IDs
[AROS.git] / compiler / clib / times.c
blob59ee81037776c4526556f175bde7b747c34f96a1
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
29 Not implemented.
31 EXAMPLE
33 BUGS
35 SEE ALSO
37 INTERNALS
39 ******************************************************************************/
41 /* TODO: Implement times() */
42 AROS_FUNCTION_NOT_IMPLEMENTED("arosc");
43 errno = ENOSYS;
45 tms->tms_utime = 0;
46 tms->tms_stime = 0;
47 tms->tms_cutime = 0;
48 tms->tms_cstime = 0;
50 return -1;