On Wed April 16 2008 6:16:56 pm Brandon S. Allbery KF8NH wrote: > On Apr 16, 2008, at 17:30 , John Goerzen wrote: > > On Wed April 16 2008 3:54:45 pm Galchin, Vasili wrote: > >> 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. > > > > Indeed. It seems there is no way to pass O_CREAT to openFile. > > there is > > createFile, but that's really a different call. Sigh. > > Remember, Haskell is functional; treat the function to call as an > argument?
That misses the point; the two are different calls in C and full functionality is not exposed via the Haskell API. -- John _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
