hpath/System-Posix-Directory-Foreign.html
travis-ci 944ad382f5 Lastest docs updated
travis build: 78
commit: a31c9d1e88
auto-pushed to gh-pages
2016-06-05 20:06:31 +00:00

9 lines
15 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>System.Posix.Directory.Foreign</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_System-Posix-Directory-Foreign.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/System-Posix-Directory-Foreign.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">hpath-0.8.0: Support for well-typed paths</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">System.Posix.Directory.Foreign</p></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">newtype</span> <a href="#t:DirType">DirType</a> = <a href="#v:DirType">DirType</a> <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Int.html#t:Int">Int</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Flags">Flags</a><ul class="subs"><li>= <a href="#v:Flags">Flags</a> <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Int.html#t:Int">Int</a></li><li>| <a href="#v:UnsupportedFlag">UnsupportedFlag</a> <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-String.html#t:String">String</a></li></ul></li><li class="src short"><a href="#v:unFlags">unFlags</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a> -&gt; <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:isSupported">isSupported</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a> -&gt; <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:oCloexec">oCloexec</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a></li><li class="src short"><a href="#v:dtBlk">dtBlk</a> :: <a href="System-Posix-Directory-Foreign.html#t:DirType">DirType</a></li><li class="src short"><a href="#v:oAppend">oAppend</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a></li><li class="src short"><a href="#v:dtChr">dtChr</a> :: <a href="System-Posix-Directory-Foreign.html#t:DirType">DirType</a></li><li class="src short"><a href="#v:pathMax">pathMax</a> :: <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:oAsync">oAsync</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a></li><li class="src short"><a href="#v:dtDir">dtDir</a> :: <a href="System-Posix-Directory-Foreign.html#t:DirType">DirType</a></li><li class="src short"><a href="#v:oCreat">oCreat</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a></li><li class="src short"><a href="#v:dtFifo">dtFifo</a> :: <a href="System-Posix-Directory-Foreign.html#t:DirType">DirType</a></li><li class="src short"><a href="#v:unionFlags">unionFlags</a> :: [<a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a>] -&gt; <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Foreign-C-Types.html#t:CInt">CInt</a></li><li class="src short"><a href="#v:dtLnk">dtLnk</a> :: <a href="System-Posix-Directory-Foreign.html#t:DirType">DirType</a></li><li class="src short"><a href="#v:oDirectory">oDirectory</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a></li><li class="src short"><a href="#v:oExcl">oExcl</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a></li><li class="src short"><a href="#v:dtReg">dtReg</a> :: <a href="System-Posix-Directory-Foreign.html#t:DirType">DirType</a></li><li class="src short"><a href="#v:oNoctty">oNoctty</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a></li><li class="src short"><a href="#v:dtSock">dtSock</a> :: <a href="System-Posix-Directory-Foreign.html#t:DirType">DirType</a></li><li class="src short"><a href="#v:oNofollow">oNofollow</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a></li><li class="src short"><a href="#v:dtUnknown">dtUnknown</a> :: <a href="System-Posix-Directory-Foreign.html#t:DirType">DirType</a></li><li class="src short"><a href="#v:oNonblock">oNonblock</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a></li><li class="src short"><a href="#v:oRdonly">oRdonly</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a></li><li class="src short"><a href="#v:oWronly">oWronly</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a></li><li class="src short"><a href="#v:oRdwr">oRdwr</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a></li><li class="src short"><a href="#v:oSync">oSync</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a></li><li class="src short"><a href="#v:oTrunc">oTrunc</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">newtype</span> <a name="t:DirType" class="def">DirType</a> <a href="src/System-Posix-Directory-Foreign.html#DirType" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:DirType" class="def">DirType</a> <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Int.html#t:Int">Int</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:DirType" class="caption collapser" onclick="toggleSection('i:DirType')">Instances</p><div id="section.i:DirType" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Eq.html#t:Eq">Eq</a> <a href="System-Posix-Directory-Foreign.html#t:DirType">DirType</a></span> <a href="src/System-Posix-Directory-Foreign.html#line-14" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Text-Show.html#t:Show">Show</a> <a href="System-Posix-Directory-Foreign.html#t:DirType">DirType</a></span> <a href="src/System-Posix-Directory-Foreign.html#line-14" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Flags" class="def">Flags</a> <a href="src/System-Posix-Directory-Foreign.html#Flags" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Flags" class="def">Flags</a> <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Int.html#t:Int">Int</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:UnsupportedFlag" class="def">UnsupportedFlag</a> <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-String.html#t:String">String</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:Flags" class="caption collapser" onclick="toggleSection('i:Flags')">Instances</p><div id="section.i:Flags" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Eq.html#t:Eq">Eq</a> <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a></span> <a href="src/System-Posix-Directory-Foreign.html#line-15" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Text-Show.html#t:Show">Show</a> <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a></span> <a href="src/System-Posix-Directory-Foreign.html#line-15" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:unFlags" class="def">unFlags</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a> -&gt; <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Int.html#t:Int">Int</a> <a href="src/System-Posix-Directory-Foreign.html#unFlags" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:isSupported" class="def">isSupported</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a> -&gt; <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Bool.html#t:Bool">Bool</a> <a href="src/System-Posix-Directory-Foreign.html#isSupported" class="link">Source</a></p><div class="doc"><p>Returns <code>True</code> if posix-paths was compiled with support for the provided
flag. (As of this writing, the only flag for which this check may be
necessary is <code><a href="System-Posix-Directory-Foreign.html#v:oCloexec">oCloexec</a></code>; all other flags will always yield <code>True</code>.)</p></div></div><div class="top"><p class="src"><a name="v:oCloexec" class="def">oCloexec</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a> <a href="src/System-Posix-Directory-Foreign.html#oCloexec" class="link">Source</a></p><div class="doc"><p><code>O_CLOEXEC</code> is not supported on every POSIX platform. Use
<code><code><a href="System-Posix-Directory-Foreign.html#v:isSupported">isSupported</a></code> oCloexec</code> to determine if support for <code>O_CLOEXEC</code> was
compiled into your version of posix-paths. (If not, using <code>oCloexec</code> will
throw an exception.)</p></div></div><div class="top"><p class="src"><a name="v:dtBlk" class="def">dtBlk</a> :: <a href="System-Posix-Directory-Foreign.html#t:DirType">DirType</a> <a href="src/System-Posix-Directory-Foreign.html#dtBlk" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:oAppend" class="def">oAppend</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a> <a href="src/System-Posix-Directory-Foreign.html#oAppend" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:dtChr" class="def">dtChr</a> :: <a href="System-Posix-Directory-Foreign.html#t:DirType">DirType</a> <a href="src/System-Posix-Directory-Foreign.html#dtChr" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:pathMax" class="def">pathMax</a> :: <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Int.html#t:Int">Int</a> <a href="src/System-Posix-Directory-Foreign.html#pathMax" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:oAsync" class="def">oAsync</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a> <a href="src/System-Posix-Directory-Foreign.html#oAsync" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:dtDir" class="def">dtDir</a> :: <a href="System-Posix-Directory-Foreign.html#t:DirType">DirType</a> <a href="src/System-Posix-Directory-Foreign.html#dtDir" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:oCreat" class="def">oCreat</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a> <a href="src/System-Posix-Directory-Foreign.html#oCreat" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:dtFifo" class="def">dtFifo</a> :: <a href="System-Posix-Directory-Foreign.html#t:DirType">DirType</a> <a href="src/System-Posix-Directory-Foreign.html#dtFifo" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:unionFlags" class="def">unionFlags</a> :: [<a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a>] -&gt; <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Foreign-C-Types.html#t:CInt">CInt</a> <a href="src/System-Posix-Directory-Foreign.html#unionFlags" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:dtLnk" class="def">dtLnk</a> :: <a href="System-Posix-Directory-Foreign.html#t:DirType">DirType</a> <a href="src/System-Posix-Directory-Foreign.html#dtLnk" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:oDirectory" class="def">oDirectory</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a> <a href="src/System-Posix-Directory-Foreign.html#oDirectory" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:oExcl" class="def">oExcl</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a> <a href="src/System-Posix-Directory-Foreign.html#oExcl" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:dtReg" class="def">dtReg</a> :: <a href="System-Posix-Directory-Foreign.html#t:DirType">DirType</a> <a href="src/System-Posix-Directory-Foreign.html#dtReg" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:oNoctty" class="def">oNoctty</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a> <a href="src/System-Posix-Directory-Foreign.html#oNoctty" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:dtSock" class="def">dtSock</a> :: <a href="System-Posix-Directory-Foreign.html#t:DirType">DirType</a> <a href="src/System-Posix-Directory-Foreign.html#dtSock" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:oNofollow" class="def">oNofollow</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a> <a href="src/System-Posix-Directory-Foreign.html#oNofollow" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:dtUnknown" class="def">dtUnknown</a> :: <a href="System-Posix-Directory-Foreign.html#t:DirType">DirType</a> <a href="src/System-Posix-Directory-Foreign.html#dtUnknown" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:oNonblock" class="def">oNonblock</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a> <a href="src/System-Posix-Directory-Foreign.html#oNonblock" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:oRdonly" class="def">oRdonly</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a> <a href="src/System-Posix-Directory-Foreign.html#oRdonly" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:oWronly" class="def">oWronly</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a> <a href="src/System-Posix-Directory-Foreign.html#oWronly" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:oRdwr" class="def">oRdwr</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a> <a href="src/System-Posix-Directory-Foreign.html#oRdwr" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:oSync" class="def">oSync</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a> <a href="src/System-Posix-Directory-Foreign.html#oSync" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:oTrunc" class="def">oTrunc</a> :: <a href="System-Posix-Directory-Foreign.html#t:Flags">Flags</a> <a href="src/System-Posix-Directory-Foreign.html#oTrunc" class="link">Source</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>