1 /* Replacement sys/time.h file for building GNU Emacs on the Macintosh.
2 Copyright (C) 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
4 This file is part of GNU Emacs.
6 GNU Emacs is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
11 GNU Emacs is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU Emacs; see the file COPYING. If not, write to
18 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 Boston, MA 02110-1301, USA. */
21 /* Contributed by Andrew Choi (akochoi@mac.com). */
27 long tv_sec
; /* seconds */
28 long tv_usec
; /* microseconds */
33 #define ITIMER_VIRTUAL 1
39 struct timeval it_interval
; /* timer interval */
41 struct timeval it_value
; /* current value */
44 extern int setitimer(int, const struct itimerval
*, struct itimerval
*);
46 #endif /* _SYS_TYPES_H */
48 /* arch-tag: f85ed04d-0e99-4f97-892b-fe029d0e92f9
49 (do not change this comment) */