Deleted Added
full compact
time.h (152585) time.h (152844)
1/*-
2 * Copyright (c) 1982, 1986, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)time.h 8.5 (Berkeley) 5/4/95
1/*-
2 * Copyright (c) 1982, 1986, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)time.h 8.5 (Berkeley) 5/4/95
30 * $FreeBSD: head/sys/sys/time.h 152585 2005-11-18 16:51:13Z andre $
30 * $FreeBSD: head/sys/sys/time.h 152844 2005-11-27 00:55:18Z rwatson $
31 */
32
33#ifndef _SYS_TIME_H_
34#define _SYS_TIME_H_
35
36#include <sys/_timeval.h>
37#include <sys/types.h>
38#include <sys/timespec.h>

--- 194 unchanged lines hidden (view full) ---

233};
234
235/* These macros are also in time.h. */
236#ifndef CLOCK_REALTIME
237#define CLOCK_REALTIME 0
238#define CLOCK_VIRTUAL 1
239#define CLOCK_PROF 2
240#define CLOCK_MONOTONIC 4
31 */
32
33#ifndef _SYS_TIME_H_
34#define _SYS_TIME_H_
35
36#include <sys/_timeval.h>
37#include <sys/types.h>
38#include <sys/timespec.h>

--- 194 unchanged lines hidden (view full) ---

233};
234
235/* These macros are also in time.h. */
236#ifndef CLOCK_REALTIME
237#define CLOCK_REALTIME 0
238#define CLOCK_VIRTUAL 1
239#define CLOCK_PROF 2
240#define CLOCK_MONOTONIC 4
241#define CLOCK_UPTIME 5
241#define CLOCK_UPTIME 5 /* FreeBSD-specific. */
242#define CLOCK_UPTIME_PRECISE 7 /* FreeBSD-specific. */
243#define CLOCK_UPTIME_FAST 8 /* FreeBSD-specific. */
244#define CLOCK_REALTIME_PRECISE 9 /* FreeBSD-specific. */
245#define CLOCK_REALTIME_FAST 10 /* FreeBSD-specific. */
246#define CLOCK_MONOTONIC_PRECISE 11 /* FreeBSD-specific. */
247#define CLOCK_MONOTONIC_FAST 12 /* FreeBSD-specific. */
248#define CLOCK_SECOND 13 /* FreeBSD-specific. */
242#endif
243
244#ifndef TIMER_ABSTIME
245#define TIMER_RELTIME 0x0 /* relative timer */
246#define TIMER_ABSTIME 0x1 /* absolute timer */
247#endif
248
249#ifdef _KERNEL

--- 69 unchanged lines hidden ---
249#endif
250
251#ifndef TIMER_ABSTIME
252#define TIMER_RELTIME 0x0 /* relative timer */
253#define TIMER_ABSTIME 0x1 /* absolute timer */
254#endif
255
256#ifdef _KERNEL

--- 69 unchanged lines hidden ---