Deleted Added
full compact
time.h (240295) time.h (245428)
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

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

30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * @(#)time.h 8.3 (Berkeley) 1/21/94
35 */
36
37/*
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

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

30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * @(#)time.h 8.3 (Berkeley) 1/21/94
35 */
36
37/*
38 * $FreeBSD: head/include/time.h 240295 2012-09-10 05:00:29Z davidxu $
38 * $FreeBSD: head/include/time.h 245428 2013-01-14 18:01:19Z dim $
39 */
40
41#ifndef _TIME_H_
42#define _TIME_H_
43
44#include <sys/cdefs.h>
45#include <sys/_null.h>
46#include <sys/_types.h>

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

107#define CLOCK_UPTIME_PRECISE 7 /* FreeBSD-specific. */
108#define CLOCK_UPTIME_FAST 8 /* FreeBSD-specific. */
109#define CLOCK_REALTIME_PRECISE 9 /* FreeBSD-specific. */
110#define CLOCK_REALTIME_FAST 10 /* FreeBSD-specific. */
111#define CLOCK_MONOTONIC_PRECISE 11 /* FreeBSD-specific. */
112#define CLOCK_MONOTONIC_FAST 12 /* FreeBSD-specific. */
113#define CLOCK_SECOND 13 /* FreeBSD-specific. */
114#define CLOCK_THREAD_CPUTIME_ID 14
39 */
40
41#ifndef _TIME_H_
42#define _TIME_H_
43
44#include <sys/cdefs.h>
45#include <sys/_null.h>
46#include <sys/_types.h>

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

107#define CLOCK_UPTIME_PRECISE 7 /* FreeBSD-specific. */
108#define CLOCK_UPTIME_FAST 8 /* FreeBSD-specific. */
109#define CLOCK_REALTIME_PRECISE 9 /* FreeBSD-specific. */
110#define CLOCK_REALTIME_FAST 10 /* FreeBSD-specific. */
111#define CLOCK_MONOTONIC_PRECISE 11 /* FreeBSD-specific. */
112#define CLOCK_MONOTONIC_FAST 12 /* FreeBSD-specific. */
113#define CLOCK_SECOND 13 /* FreeBSD-specific. */
114#define CLOCK_THREAD_CPUTIME_ID 14
115#define CLOCK_PROCESS_CPUTIME_ID 15
115#endif /* !defined(CLOCK_REALTIME) && __POSIX_VISIBLE >= 200112 */
116
117#if !defined(TIMER_ABSTIME) && __POSIX_VISIBLE >= 200112
118#if __BSD_VISIBLE
119#define TIMER_RELTIME 0x0 /* relative timer */
120#endif
121#define TIMER_ABSTIME 0x1 /* absolute timer */
122#endif /* !defined(TIMER_ABSTIME) && __POSIX_VISIBLE >= 200112 */

--- 81 unchanged lines hidden ---
116#endif /* !defined(CLOCK_REALTIME) && __POSIX_VISIBLE >= 200112 */
117
118#if !defined(TIMER_ABSTIME) && __POSIX_VISIBLE >= 200112
119#if __BSD_VISIBLE
120#define TIMER_RELTIME 0x0 /* relative timer */
121#endif
122#define TIMER_ABSTIME 0x1 /* absolute timer */
123#endif /* !defined(TIMER_ABSTIME) && __POSIX_VISIBLE >= 200112 */

--- 81 unchanged lines hidden ---