Win32-2.6.1.0: A binding to part of the Win32 library

Copyright(c) Alastair Reid 1997-2003
LicenseBSD-style (see the file libraries/base/LICENSE)
MaintainerEsa Ilari Vuokko <ei@vuokko.info>
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

System.Win32.File

Description

A collection of FFI declarations for interfacing with Win32.

Synopsis

Documentation

failIfWithRetry :: (a -> Bool) -> String -> IO a -> IO a #

like failIfFalse_, but retried on sharing violations. This is necessary for many file operations; see http://support.microsoft.com/kb/316609

failIfWithRetry_ :: (a -> Bool) -> String -> IO a -> IO () #

copyFile :: String -> String -> Bool -> IO () #

moveFile :: String -> String -> IO () #

type LPOVERLAPPED = Ptr () #

type WIN32_FIND_DATA = () #

findClose :: HANDLE -> IO () #