mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-28 10:56:36 +00:00
(ITIMER_REAL): New macro.
(struct itimerval): New struct. (setitimer): New extern.
This commit is contained in:
parent
34e1bbc25e
commit
bfd3cbc477
@ -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 New Issue
Block a user