OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [newlib-1.18.0/] [newlib-1.18.0-or32-1.0rc1/] [newlib/] [libc/] [include/] [sys/] [timeb.h] - Diff between revs 207 and 345

Only display areas with differences | Details | Blame | View Log

Rev 207 Rev 345
/* timeb.h -- An implementation of the standard Unix <sys/timeb.h> file.
/* timeb.h -- An implementation of the standard Unix <sys/timeb.h> file.
   Written by Ian Lance Taylor <ian@cygnus.com>
   Written by Ian Lance Taylor <ian@cygnus.com>
   Public domain; no rights reserved.
   Public domain; no rights reserved.
 
 
   <sys/timeb.h> declares the structure used by the ftime function, as
   <sys/timeb.h> declares the structure used by the ftime function, as
   well as the ftime function itself.  Newlib does not provide an
   well as the ftime function itself.  Newlib does not provide an
   implementation of ftime.  */
   implementation of ftime.  */
 
 
#ifndef _SYS_TIMEB_H
#ifndef _SYS_TIMEB_H
 
 
#ifdef __cplusplus
#ifdef __cplusplus
extern "C" {
extern "C" {
#endif
#endif
 
 
#define _SYS_TIMEB_H
#define _SYS_TIMEB_H
 
 
#include <_ansi.h>
#include <_ansi.h>
#include <machine/types.h>
#include <machine/types.h>
 
 
#ifndef __time_t_defined
#ifndef __time_t_defined
typedef _TIME_T_ time_t;
typedef _TIME_T_ time_t;
#define __time_t_defined
#define __time_t_defined
#endif
#endif
 
 
struct timeb
struct timeb
{
{
  time_t time;
  time_t time;
  unsigned short millitm;
  unsigned short millitm;
  short timezone;
  short timezone;
  short dstflag;
  short dstflag;
};
};
 
 
extern int ftime _PARAMS ((struct timeb *));
extern int ftime _PARAMS ((struct timeb *));
 
 
#ifdef __cplusplus
#ifdef __cplusplus
}
}
#endif
#endif
 
 
#endif /* ! defined (_SYS_TIMEB_H) */
#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.