[Haskell-cafe] Hoogle

Galchin, Vasili vigalchin at gmail.com
Wed Apr 16 16:54:45 EDT 2008


hi Antoine,

   I already found this link. Thanks in any case. I want to O_CREATE a file,
i.e. do a openFd creating a new file. O_CREATE should be the FileMode, but I
don't see in the link below.

Thanks, Vasili

On Wed, Apr 16, 2008 at 1:46 PM, Antoine Latter <aslatter at gmail.com> wrote:

> 2008/4/16 Galchin, Vasili <vigalchin at gmail.com>:
>  > 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). ??
>
> Values of type FileMode are defined in System.Posix.Files
>
> See
> http://haskell.org/ghc/docs/latest/html/libraries/unix/System-Posix-Files.html#1
> for the defintions.
>
> Does that help?
>
> -Antoine
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080416/cc497cac/attachment.htm


More information about the Haskell-Cafe mailing list