<div>hi Antoine,</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp; I already found this link. Thanks in any case.&nbsp;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&#39;t see in the link below.</div>
<div>&nbsp;</div>
<div>Thanks, Vasili<br><br></div>
<div class="gmail_quote">On Wed, Apr 16, 2008 at 1:46 PM, Antoine Latter &lt;<a href="mailto:aslatter@gmail.com">aslatter@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">2008/4/16 Galchin, Vasili &lt;<a href="mailto:vigalchin@gmail.com">vigalchin@gmail.com</a>&gt;:<br>
<div>
<div></div>
<div class="Wj3C7c">&gt; Hello,<br>&gt;<br>&gt; &nbsp; &nbsp; &nbsp; I tried d to use Hoogle to find openFd&#39;s signature and more<br>&gt; importantly FileMode. I found FileMode which is &nbsp;a type synonym with CMode.<br>&gt; I don&#39;t understand what are the &quot;values&quot; for FileMode (so I can call<br>
&gt; openFd). ??<br><br></div></div>Values of type FileMode are defined in System.Posix.Files<br><br>See <a href="http://haskell.org/ghc/docs/latest/html/libraries/unix/System-Posix-Files.html#1" target="_blank">http://haskell.org/ghc/docs/latest/html/libraries/unix/System-Posix-Files.html#1</a><br>
for the defintions.<br><br>Does that help?<br><font color="#888888"><br>-Antoine<br></font></blockquote></div><br>