]>
git.saurik.com Git - apple/xnu.git/blob - osfmk/libsa/sys/timers.h
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * The contents of this file constitute Original Code as defined in and
7 * are subject to the Apple Public Source License Version 1.1 (the
8 * "License"). You may not use this file except in compliance with the
9 * License. Please obtain a copy of the License at
10 * http://www.apple.com/publicsource and read it before using this file.
12 * This Original Code and all software distributed under the License are
13 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17 * License for the specific language governing rights and limitations
20 * @APPLE_LICENSE_HEADER_END@
28 * Revision 1.1.1.1 1998/09/22 21:05:51 wsanchez
29 * Import of Mac OS X kernel (~semeria)
31 * Revision 1.1.1.1 1998/03/07 02:25:36 wsanchez
32 * Import of OSF Mach kernel (~mburg)
34 * Revision 1.1.4.1 1997/01/31 15:46:34 emcmanus
35 * Merged with nmk22b1_shared.
36 * [1997/01/30 08:47:46 emcmanus]
38 * Revision 1.1.2.2 1996/11/29 13:04:58 emcmanus
39 * Added TIMEOFDAY and getclock() prototype.
40 * [1996/11/29 09:59:33 emcmanus]
42 * Revision 1.1.2.1 1996/10/14 13:31:49 emcmanus
44 * [1996/10/14 13:30:09 emcmanus]
49 #ifndef _SYS_TIMERS_H_
50 #define _SYS_TIMERS_H_
52 /* POSIX <sys/timers.h>. For now, we define just enough to be able to build
53 the pthread library, with its pthread_cond_timedwait() interface. */
61 extern int getclock(int, struct timespec
*);
63 #endif /* _SYS_TIMERS_H_ */