{-# LINE 1 "src/Bindings/HDF5/Raw/H5FD/Sec2.hsc" #-}



-- |The POSIX unbuffered file driver using only the HDF5 public
-- API and with a few optimizations: the lseek() call is made
-- only when the current file position is unknown or needs to be
-- changed based on previous I/O through this driver (don't mix
-- I/O from this driver with I/O from other parts of the
-- application to the same file).
module Bindings.HDF5.Raw.H5FD.Sec2 where

import Foreign.Ptr
import System.IO.Unsafe (unsafePerformIO)

import Bindings.HDF5.Raw.H5
import Bindings.HDF5.Raw.H5I


{-# LINE 29 "src/Bindings/HDF5/Raw/H5FD/Sec2.hsc" #-}


{-# LINE 36 "src/Bindings/HDF5/Raw/H5FD/Sec2.hsc" #-}
 
-- |Modify the file access property list to use the H5FD_SEC2
-- driver.  There are no driver-specific properties.
--
-- > herr_t H5Pset_fapl_sec2(hid_t fapl_id);
foreign import ccall "H5Pset_fapl_sec2" h5p_set_fapl_sec2
  :: HId_t -> IO HErr_t
foreign import ccall "&H5Pset_fapl_sec2" p_H5Pset_fapl_sec2
  :: FunPtr (HId_t -> IO HErr_t)

{-# LINE 42 "src/Bindings/HDF5/Raw/H5FD/Sec2.hsc" #-}