mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 18:37:33 +00:00
(ITIMER_REAL): New macro.
(struct itimerval): New struct. (setitimer): New extern.
This commit is contained in:
parent
34e1bbc25e
commit
bfd3cbc477
1 changed files with 15 additions and 0 deletions
|
|
@ -28,6 +28,21 @@ struct timeval {
|
|||
long tv_usec; /* microseconds */
|
||||
};
|
||||
|
||||
#define ITIMER_REAL 0
|
||||
#if 0
|
||||
#define ITIMER_VIRTUAL 1
|
||||
#define ITIMER_PROF 2
|
||||
#endif
|
||||
|
||||
struct itimerval {
|
||||
#if 0
|
||||
struct timeval it_interval; /* timer interval */
|
||||
#endif
|
||||
struct timeval it_value; /* current value */
|
||||
};
|
||||
|
||||
extern int setitimer(int, const struct itimerval *, struct itimerval *);
|
||||
|
||||
#endif /* _SYS_TYPES_H */
|
||||
|
||||
/* arch-tag: f85ed04d-0e99-4f97-892b-fe029d0e92f9
|
||||
|
|
|
|||
Loading…
Reference in a new issue