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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [include/] [sys/] [timeb.h] - Blame information for rev 207

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
/* timeb.h -- An implementation of the standard Unix <sys/timeb.h> file.
2
   Written by Ian Lance Taylor <ian@cygnus.com>
3
   Public domain; no rights reserved.
4
 
5
   <sys/timeb.h> declares the structure used by the ftime function, as
6
   well as the ftime function itself.  Newlib does not provide an
7
   implementation of ftime.  */
8
 
9
#ifndef _SYS_TIMEB_H
10
 
11
#ifdef __cplusplus
12
extern "C" {
13
#endif
14
 
15
#define _SYS_TIMEB_H
16
 
17
#include <_ansi.h>
18
#include <machine/types.h>
19
 
20
#ifndef __time_t_defined
21
typedef _TIME_T_ time_t;
22
#define __time_t_defined
23
#endif
24
 
25
struct timeb
26
{
27
  time_t time;
28
  unsigned short millitm;
29
  short timezone;
30
  short dstflag;
31
};
32
 
33
extern int ftime _PARAMS ((struct timeb *));
34
 
35
#ifdef __cplusplus
36
}
37
#endif
38
 
39
#endif /* ! defined (_SYS_TIMEB_H) */

powered by: WebSVN 2.1.0

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