System.OpenBSD.Process

unix-2.7.1.0: POSIX functionality

Safe Haskell | Safe
Language | Haskell2010

System.OpenBSD.Process

Synopsis

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

# 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).