]> git.ipfire.org Git - thirdparty/gcc.git/blob - libphobos/libdruntime/core/sys/freebsd/time.d
Add D front-end, libphobos library, and D2 testsuite.
[thirdparty/gcc.git] / libphobos / libdruntime / core / sys / freebsd / time.d
1 //Written in the D programming language
2
3 /++
4 D header file for FreeBSD's extensions to POSIX's time.h.
5
6 Copyright: Copyright 2014
7 License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
8 Authors: $(HTTP jmdavisprog.com, Jonathan M Davis)
9 +/
10 module core.sys.freebsd.time;
11
12 public import core.sys.posix.time;
13
14 version (FreeBSD):
15
16 enum CLOCK_VIRTUAL = 1;
17 enum CLOCK_PROF = 2;
18 enum CLOCK_UPTIME = 5;
19 enum CLOCK_UPTIME_PRECISE = 7;
20 enum CLOCK_UPTIME_FAST = 8;
21 enum CLOCK_REALTIME_PRECISE = 9;
22 enum CLOCK_REALTIME_FAST = 10;
23 enum CLOCK_MONOTONIC_PRECISE = 11;
24 enum CLOCK_MONOTONIC_FAST = 12;
25 enum CLOCK_SECOND = 13;