define __KERNEL_STRICT_NAMES to avoid inclusion of kernel types on systems that carry...
[cake.git] / compiler / clib / ftime.c
blob6526eecefe4953d4503197d2e8a407a48d56075f
1 /*
2 Copyright © 2004, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 /*****************************************************************************
8 NAME */
10 #include <time.h>
11 #include <sys/timeb.h>
13 int ftime(
15 /* SYNOPSIS */
16 struct timeb *tb)
18 /* FUNCTION
20 INPUTS
22 RESULT
24 NOTES
26 EXAMPLE
28 BUGS
30 SEE ALSO
32 INTERNALS
34 ******************************************************************************/
36 tb->time = time(NULL);
37 tb->millitm = 0; // FIXME
38 tb->timezone = 0; // FIXME
39 tb->dstflag = 0; // FIXME
41 return 0;