{-# LINE 1 "Foundation/System/Bindings/Network.hsc" #-} -- | {-# LINE 2 "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 -- module Foundation.System.Bindings.Network ( -- * error getHErrno , herr_HostNotFound , herr_NoData , herr_NoRecovery , herr_TryAgain ) where import Foundation.Internal.Base import Foreign.C.Types {-# LINE 23 "Foundation/System/Bindings/Network.hsc" #-} {-# LINE 24 "Foundation/System/Bindings/Network.hsc" #-} {-# LINE 25 "Foundation/System/Bindings/Network.hsc" #-} {-# LINE 26 "Foundation/System/Bindings/Network.hsc" #-} herr_HostNotFound , herr_NoData , herr_NoRecovery , herr_TryAgain :: CInt {-# LINE 38 "Foundation/System/Bindings/Network.hsc" #-} herr_HostNotFound = (1) {-# LINE 39 "Foundation/System/Bindings/Network.hsc" #-} herr_NoData = (4) {-# LINE 40 "Foundation/System/Bindings/Network.hsc" #-} herr_NoRecovery = (3) {-# LINE 41 "Foundation/System/Bindings/Network.hsc" #-} herr_TryAgain = (2) {-# LINE 42 "Foundation/System/Bindings/Network.hsc" #-} {-# LINE 43 "Foundation/System/Bindings/Network.hsc" #-} foreign import ccall unsafe "foundation_network_get_h_errno" getHErrno :: IO CInt