{-# LINE 1 "Foundation/System/Bindings/Network.hsc" #-} -- | -- Module : Foundation.System.Bindings.HostName -- License : BSD-style -- Maintainer : Nicolas Di Prima <nicolas@primetype.co.uk> -- Stability : provisional -- Portability : portable -- {-# OPTIONS_HADDOCK hide #-} module Foundation.System.Bindings.Network ( -- * error getHErrno , herr_HostNotFound , herr_NoData , herr_NoRecovery , herr_TryAgain ) where import Basement.Compat.Base import Basement.Compat.C.Types {-# LINE 24 "Foundation/System/Bindings/Network.hsc" #-} {-# LINE 27 "Foundation/System/Bindings/Network.hsc" #-} herr_HostNotFound , herr_NoData , herr_NoRecovery , herr_TryAgain :: CInt {-# LINE 39 "Foundation/System/Bindings/Network.hsc" #-} herr_HostNotFound = (1) {-# LINE 40 "Foundation/System/Bindings/Network.hsc" #-} herr_NoData = (4) {-# LINE 41 "Foundation/System/Bindings/Network.hsc" #-} herr_NoRecovery = (3) {-# LINE 42 "Foundation/System/Bindings/Network.hsc" #-} herr_TryAgain = (2) {-# LINE 43 "Foundation/System/Bindings/Network.hsc" #-} {-# LINE 44 "Foundation/System/Bindings/Network.hsc" #-} foreign import ccall unsafe "foundation_network_get_h_errno" getHErrno :: IO CInt