2008/4/16 Galchin, Vasili <vigalchin@gmail.com>:
Values of type FileMode are defined in System.Posix.Files> Hello,
>
> I tried d to use Hoogle to find openFd's signature and more
> importantly FileMode. I found FileMode which is a type synonym with CMode.
> I don't understand what are the "values" for FileMode (so I can call
> openFd). ??
See http://haskell.org/ghc/docs/latest/html/libraries/unix/System-Posix-Files.html#1
for the defintions.
Does that help?
-Antoine