libc/libgloss/mn10300/times.c
Jeff Johnston 75241b15db 2001-10-31 David Howells <dhowells@redhat.com>
* syscall.h: Added SYS_times, SYS_gettimeofday, SYS_link values.
        * mn10300/times.c: Renamed "times" to "_times" so that it can be
        referenced by newlib.
        * mn10300/cygmon.c: New file.
        * mn10300/crt0_redboot.S: Ditto.
        * mn10300/crt0_cygmon.S: Ditto.
        * mn10300/Makefile.in: Added RedBoot and Cygmon support.
        * mn10300/configure.in: Changed to allow for future
        evaluation boards to be added.
        * mn10300/configure: Regenerated.
2001-10-31 19:19:08 +00:00

13 lines
189 B
C

#include <_ansi.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "trap.h"
#include "sys/times.h"
clock_t
_times (struct tms *buffer)
{
return TRAP0 (SYS_times, buffer, 0, 0);
}