Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 6e204a966e8c42d976f99a1700ce5f20 > files > 4216

ghc-7.4.2-4.mga5.i586.rpm

<!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.SharedMem</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-SharedMem.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">unix-2.5.1.1: POSIX functionality</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>non-portable (requires POSIX)</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Maintainer</th><td>libraries@haskell.org</td></tr><tr><th>Safe Haskell</th><td>Trustworthy</td></tr></table><p class="caption">System.Posix.SharedMem</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>POSIX shared memory support.
</p></div></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">data</span>  <a href="#t:ShmOpenFlags">ShmOpenFlags</a>  = <a href="#v:ShmOpenFlags">ShmOpenFlags</a> {<ul class="subs"><li><a href="#v:shmReadWrite">shmReadWrite</a> :: <a href="../base-4.5.1.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:shmCreate">shmCreate</a> :: <a href="../base-4.5.1.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:shmExclusive">shmExclusive</a> :: <a href="../base-4.5.1.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:shmTrunc">shmTrunc</a> :: <a href="../base-4.5.1.0/Data-Bool.html#t:Bool">Bool</a></li></ul>}</li><li class="src short"><a href="#v:shmOpen">shmOpen</a> :: <a href="../base-4.5.1.0/Data-String.html#t:String">String</a> -&gt; <a href="System-Posix-SharedMem.html#t:ShmOpenFlags">ShmOpenFlags</a> -&gt; <a href="../base-4.5.1.0/System-Posix-Types.html#t:FileMode">FileMode</a> -&gt; <a href="../base-4.5.1.0/System-IO.html#t:IO">IO</a> <a href="../base-4.5.1.0/System-Posix-Types.html#t:Fd">Fd</a></li><li class="src short"><a href="#v:shmUnlink">shmUnlink</a> :: <a href="../base-4.5.1.0/Data-String.html#t:String">String</a> -&gt; <a href="../base-4.5.1.0/System-IO.html#t:IO">IO</a> ()</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:ShmOpenFlags" class="def">ShmOpenFlags</a>  </p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:ShmOpenFlags" class="def">ShmOpenFlags</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:shmReadWrite" class="def">shmReadWrite</a> :: <a href="../base-4.5.1.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc"><p>If true, open the shm object read-write rather than read-only. 
</p></dd><dt class="src"><a name="v:shmCreate" class="def">shmCreate</a> :: <a href="../base-4.5.1.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc"><p>If true, create the shm object if it does not exist. 
</p></dd><dt class="src"><a name="v:shmExclusive" class="def">shmExclusive</a> :: <a href="../base-4.5.1.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc"><p>If true, throw an exception if the shm object already exists.
</p></dd><dt class="src"><a name="v:shmTrunc" class="def">shmTrunc</a> :: <a href="../base-4.5.1.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc"><p>If true, wipe the contents of the shm object after opening it.
</p></dd></dl><div class="clear"></div></div></td></tr></table></div></div><div class="top"><p class="src"><a name="v:shmOpen" class="def">shmOpen</a> :: <a href="../base-4.5.1.0/Data-String.html#t:String">String</a> -&gt; <a href="System-Posix-SharedMem.html#t:ShmOpenFlags">ShmOpenFlags</a> -&gt; <a href="../base-4.5.1.0/System-Posix-Types.html#t:FileMode">FileMode</a> -&gt; <a href="../base-4.5.1.0/System-IO.html#t:IO">IO</a> <a href="../base-4.5.1.0/System-Posix-Types.html#t:Fd">Fd</a></p><div class="doc"><p>Open a shared memory object with the given name, flags, and mode.
</p></div></div><div class="top"><p class="src"><a name="v:shmUnlink" class="def">shmUnlink</a> :: <a href="../base-4.5.1.0/Data-String.html#t:String">String</a> -&gt; <a href="../base-4.5.1.0/System-IO.html#t:IO">IO</a> ()</p><div class="doc"><p>Delete the shared memory object with the given name.
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.11.0</p></div></body></html>