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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [libgloss/] [libnosys/] [gettod.c] - Blame information for rev 1778

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

Line No. Rev Author Line
1 1005 ivang
/*
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
struct timezone;
17
 
18
int
19
_DEFUN (_gettimeofday, (ptimeval, ptimezone),
20
        struct timeval  *ptimeval  _AND
21
        struct timezone *ptimezone)
22
{
23
  errno = ENOSYS;
24
  return -1;
25
}
26
 
27
stub_warning(_gettimeofday)

powered by: WebSVN 2.1.0

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