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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [newlib/] [newlib/] [libc/] [include/] [sys/] [itimer.h] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 39 lampret
#ifndef _ITIMER_H
2
#ifdef __cplusplus
3
extern "C" {
4
#endif
5
#define _ITIMER_H
6
#include <_ansi.h>
7
#include <sys/time.h>
8
 
9
#define ITIMER_REAL     0
10
#define ITIMER_VIRTUAL  1
11
#define ITIMER_PROF     2
12
 
13
struct  itimerval {
14
  struct  timeval it_interval;
15
  struct  timeval it_value;
16
};
17
 
18
int _EXFUN(getitimer,( int which, struct itimerval *value ));
19
int _EXFUN(setitimer,( int which, struct itimerval *newval, struct itimerval *oldval ));
20
#ifdef __cplusplus
21
}
22
#endif
23
#endif

powered by: WebSVN 2.1.0

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