-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Low-level binding to POSIX uname(3)
--   
--   This is a low-level binding to POSIX uname(3) function. Perhaps it
--   shoule be part of unix package.
@package bindings-uname
@version 0.1

module Bindings.Uname
data Utsname

-- | <tt><a>uname</a> name</tt> stores nul-terminated strings of
--   information identifying the current system info to the structure
--   referenced by name.
--   
--   <pre>
--   import Foreign.C
--   import Foreign.Marshal
--   
--   sysName :: IO String
--   sysName = alloca $ \ ptr -&gt;
--             do throwErrnoIfMinus1_ "uname" $ uname ptr
--                peekCString $ sysname ptr
--   </pre>
uname :: Ptr Utsname -> IO CInt
sysname :: Ptr Utsname -> CString
nodename :: Ptr Utsname -> CString
release :: Ptr Utsname -> CString
version :: Ptr Utsname -> CString
machine :: Ptr Utsname -> CString
instance Foreign.Storable.Storable Bindings.Uname.Utsname
