tools/adflib: build only host variant which is used by Sam440 target
[AROS.git] / compiler / posixc / times.c
blob4f3d4c8c05ff2f9e94eca8292062dcf48566267b
1 /*
2 Copyright © 2004-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 POSIX.1-2008 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("posixc");
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;