Commented system_time() in time.c - it's already implemented in atomic.S (not that it would belong there). Fixed linking of rewind.c Added syscalls for the index functions. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1565 a95241bf-73f2-0310-859d-f6bbb57e9c96
59 lines
785 B
C
59 lines
785 B
C
/*
|
|
** Copyright 2002, Axel Dörfler, [email protected]. All rights reserved.
|
|
** Distributed under the terms of the OpenBeOS License.
|
|
*/
|
|
|
|
|
|
#include <OS.h>
|
|
#include "syscalls.h"
|
|
|
|
|
|
uint32
|
|
real_time_clock(void)
|
|
{
|
|
// ToDo: real_time_clock()
|
|
return 0;
|
|
}
|
|
|
|
|
|
void
|
|
set_real_time_clock(int32 secs)
|
|
{
|
|
// ToDo: set_real_time_clock()
|
|
}
|
|
|
|
|
|
bigtime_t
|
|
real_time_clock_usecs(void)
|
|
{
|
|
// ToDo: real_time_clock_usecs()
|
|
return 0;
|
|
}
|
|
|
|
|
|
status_t
|
|
set_timezone(char *timezone)
|
|
{
|
|
// ToDo: set_timezone()
|
|
return B_ERROR;
|
|
}
|
|
|
|
|
|
/*
|
|
// ToDo: currently defined in atomic.S - but should be in its own file time.S
|
|
bigtime_t
|
|
system_time(void)
|
|
{
|
|
// time since booting in microseconds
|
|
return sys_system_time();
|
|
}
|
|
*/
|
|
|
|
|
|
bigtime_t
|
|
set_alarm(bigtime_t when, uint32 flags)
|
|
{
|
|
// ToDo: set_alarm()
|
|
return B_ERROR;
|
|
}
|