unix-2.7.1.0: POSIX functionality

Safe HaskellSafe
LanguageHaskell2010

System.OpenBSD.Process

Synopsis

Documentation

pledge :: Maybe String -> Maybe [FilePath] -> IO ()

This function provides an interface to the OpenBSD pledge(2) system call.

Passing Nothing to the promises or paths arguments has the same effect as passing NULL to the corresponding arguments of the system call (i.e. not changing the current value).