"Fossies" - the Fresh Open Source Software Archive

Member "dmd2/src/druntime/import/core/sys/dragonflybsd/time.d" (20 Nov 2020, 873 Bytes) of package /linux/misc/dmd.2.094.2.linux.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) D source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /**
    2     D header file for DragonFlyBSD's extensions to POSIX's time.h.
    3 
    4     Copyright: Copyright 2014
    5     License: $(WEB www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
    6     Authors: $(HTTP jmdavisprog.com, Jonathan M Davis) and Diederik de Groot
    7  */
    8 module core.sys.dragonflybsd.time;
    9 
   10 version (DragonFlyBSD):
   11 
   12 public import core.sys.posix.time;
   13 
   14 import core.sys.dragonflybsd.sys.cdefs;
   15 
   16 enum CLOCK_REALTIME          = 0;
   17 enum CLOCK_VIRTUAL           = 1;
   18 enum CLOCK_PROF              = 2;
   19 enum CLOCK_MONOTONIC         = 4;
   20 enum CLOCK_UPTIME            = 5;
   21 enum CLOCK_UPTIME_PRECISE    = 7;
   22 enum CLOCK_UPTIME_FAST       = 8;
   23 enum CLOCK_REALTIME_PRECISE  = 9;
   24 enum CLOCK_REALTIME_FAST     = 10;
   25 enum CLOCK_MONOTONIC_PRECISE = 11;
   26 enum CLOCK_MONOTONIC_FAST    = 12;
   27 enum CLOCK_SECOND            = 13;
   28 enum CLOCK_THREAD_CPUTIME_ID = 14;
   29 enum CLOCK_PROCESS_CPUTIME_ID= 15;