OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [libgloss/] [libnosys/] [gettod.c] - Blame information for rev 281

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
/*
2
 * Stub version of gettimeofday.
3
 */
4
 
5
#include "config.h"
6
#include <_ansi.h>
7
#include <_syslist.h>
8
#include <sys/time.h>
9
#include <sys/times.h>
10
#include <errno.h>
11
#undef errno
12
extern int errno;
13
#include "warning.h"
14
 
15
struct timeval;
16
 
17
int
18
_DEFUN (_gettimeofday, (ptimeval, ptimezone),
19
        struct timeval  *ptimeval  _AND
20
        void *ptimezone)
21
{
22
  errno = ENOSYS;
23
  return -1;
24
}
25
 
26
stub_warning(_gettimeofday)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.