"Fossies" - the Fresh Open Source Software Archive

Member "dmd2/src/druntime/import/core/sys/freebsd/time.d" (20 Nov 2020, 703 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 //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;