{-# LINE 1 "Foundation/System/Bindings/Macos.hsc" #-} {-# OPTIONS_HADDOCK hide #-} module Foundation.System.Bindings.Macos where import Basement.Compat.Base import Basement.Compat.C.Types import Foundation.System.Bindings.PosixDef import Basement.Types.OffsetSize sysMacos_O_SHLOCK , sysMacos_O_EXLOCK , sysMacos_O_SYMLINK , sysMacos_O_EVTONLY :: COpenFlags sysMacos_O_SHLOCK = (16) {-# LINE 22 "Foundation/System/Bindings/Macos.hsc" #-} sysMacos_O_EXLOCK = (32) {-# LINE 23 "Foundation/System/Bindings/Macos.hsc" #-} sysMacos_O_SYMLINK = (2097152) {-# LINE 24 "Foundation/System/Bindings/Macos.hsc" #-} sysMacos_O_EVTONLY = (32768) {-# LINE 25 "Foundation/System/Bindings/Macos.hsc" #-} data MachTimebaseInfo size_MachTimebaseInfo :: CSize size_MachTimebaseInfo = 8 {-# LINE 30 "Foundation/System/Bindings/Macos.hsc" #-} ofs_MachTimebaseInfo_numer :: Offset Word8 ofs_MachTimebaseInfo_numer = Offset ((0)) {-# LINE 33 "Foundation/System/Bindings/Macos.hsc" #-} ofs_MachTimebaseInfo_denom :: Offset Word8 ofs_MachTimebaseInfo_denom = Offset ((4)) {-# LINE 36 "Foundation/System/Bindings/Macos.hsc" #-} foreign import ccall unsafe "mach_absolute_time" sysMacos_absolute_time :: IO Word64 foreign import ccall unsafe "mach_timebase_info" sysMacos_timebase_info :: Ptr MachTimebaseInfo -> IO ()