"Fossies" - the Fresh Open Source Software Archive

Member "dmd2/src/druntime/import/core/sys/linux/time.d" (20 Nov 2020, 633 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 Linux 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.linux.time;
   11 
   12 public import core.sys.posix.time;
   13 
   14 version (linux):
   15 
   16 enum CLOCK_MONOTONIC_RAW      = 4;
   17 enum CLOCK_REALTIME_COARSE    = 5;
   18 enum CLOCK_MONOTONIC_COARSE   = 6;
   19 enum CLOCK_BOOTTIME           = 7;
   20 enum CLOCK_REALTIME_ALARM     = 8;
   21 enum CLOCK_BOOTTIME_ALARM     = 9;
   22 enum CLOCK_SGI_CYCLE          = 10;
   23 enum CLOCK_TAI                = 11;