Sophie

Sophie

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

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.DynamicLinker</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-DynamicLinker.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>provisional</td></tr><tr><th>Maintainer</th><td>vs@foldr.org</td></tr><tr><th>Safe Haskell</th><td>Trustworthy</td></tr></table><p class="caption">System.Posix.DynamicLinker</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Dynamic linker support through dlopen()
</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">module <a href="System-Posix-DynamicLinker-Prim.html">System.Posix.DynamicLinker.Prim</a></li><li class="src short"><a href="#v:dlopen">dlopen</a> :: <a href="../base-4.5.1.0/System-IO.html#t:FilePath">FilePath</a> -&gt; [<a href="System-Posix-DynamicLinker-Prim.html#t:RTLDFlags">RTLDFlags</a>] -&gt; <a href="../base-4.5.1.0/System-IO.html#t:IO">IO</a> <a href="System-Posix-DynamicLinker-Prim.html#t:DL">DL</a></li><li class="src short"><a href="#v:dlsym">dlsym</a> ::  <a href="System-Posix-DynamicLinker-Prim.html#t:DL">DL</a> -&gt; <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> (<a href="../base-4.5.1.0/Foreign-Ptr.html#t:FunPtr">FunPtr</a> a)</li><li class="src short"><a href="#v:dlerror">dlerror</a> :: <a href="../base-4.5.1.0/System-IO.html#t:IO">IO</a> <a href="../base-4.5.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:dlclose">dlclose</a> :: <a href="System-Posix-DynamicLinker-Prim.html#t:DL">DL</a> -&gt; <a href="../base-4.5.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:withDL">withDL</a> ::  <a href="../base-4.5.1.0/Data-String.html#t:String">String</a> -&gt; [<a href="System-Posix-DynamicLinker-Prim.html#t:RTLDFlags">RTLDFlags</a>] -&gt; (<a href="System-Posix-DynamicLinker-Prim.html#t:DL">DL</a> -&gt; <a href="../base-4.5.1.0/System-IO.html#t:IO">IO</a> a) -&gt; <a href="../base-4.5.1.0/System-IO.html#t:IO">IO</a> a</li><li class="src short"><a href="#v:withDL_">withDL_</a> ::  <a href="../base-4.5.1.0/Data-String.html#t:String">String</a> -&gt; [<a href="System-Posix-DynamicLinker-Prim.html#t:RTLDFlags">RTLDFlags</a>] -&gt; (<a href="System-Posix-DynamicLinker-Prim.html#t:DL">DL</a> -&gt; <a href="../base-4.5.1.0/System-IO.html#t:IO">IO</a> a) -&gt; <a href="../base-4.5.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:undl">undl</a> :: <a href="System-Posix-DynamicLinker-Prim.html#t:DL">DL</a> -&gt; <a href="../base-4.5.1.0/Foreign-Ptr.html#t:Ptr">Ptr</a> ()</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src">module <a href="System-Posix-DynamicLinker-Prim.html">System.Posix.DynamicLinker.Prim</a></p></div><div class="top"><p class="src"><a name="v:dlopen" class="def">dlopen</a> :: <a href="../base-4.5.1.0/System-IO.html#t:FilePath">FilePath</a> -&gt; [<a href="System-Posix-DynamicLinker-Prim.html#t:RTLDFlags">RTLDFlags</a>] -&gt; <a href="../base-4.5.1.0/System-IO.html#t:IO">IO</a> <a href="System-Posix-DynamicLinker-Prim.html#t:DL">DL</a></p></div><div class="top"><p class="src"><a name="v:dlsym" class="def">dlsym</a> ::  <a href="System-Posix-DynamicLinker-Prim.html#t:DL">DL</a> -&gt; <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> (<a href="../base-4.5.1.0/Foreign-Ptr.html#t:FunPtr">FunPtr</a> a)</p><div class="doc"><p><code><a href="System-Posix-DynamicLinker.html#v:dlsym">dlsym</a></code> returns the address binding of the symbol described in <code>symbol</code>,
 as it occurs in the shared object identified by <code>source</code>.
</p></div></div><div class="top"><p class="src"><a name="v:dlerror" class="def">dlerror</a> :: <a href="../base-4.5.1.0/System-IO.html#t:IO">IO</a> <a href="../base-4.5.1.0/Data-String.html#t:String">String</a></p></div><div class="top"><p class="src"><a name="v:dlclose" class="def">dlclose</a> :: <a href="System-Posix-DynamicLinker-Prim.html#t:DL">DL</a> -&gt; <a href="../base-4.5.1.0/System-IO.html#t:IO">IO</a> ()</p></div><div class="top"><p class="src"><a name="v:withDL" class="def">withDL</a> ::  <a href="../base-4.5.1.0/Data-String.html#t:String">String</a> -&gt; [<a href="System-Posix-DynamicLinker-Prim.html#t:RTLDFlags">RTLDFlags</a>] -&gt; (<a href="System-Posix-DynamicLinker-Prim.html#t:DL">DL</a> -&gt; <a href="../base-4.5.1.0/System-IO.html#t:IO">IO</a> a) -&gt; <a href="../base-4.5.1.0/System-IO.html#t:IO">IO</a> a</p></div><div class="top"><p class="src"><a name="v:withDL_" class="def">withDL_</a> ::  <a href="../base-4.5.1.0/Data-String.html#t:String">String</a> -&gt; [<a href="System-Posix-DynamicLinker-Prim.html#t:RTLDFlags">RTLDFlags</a>] -&gt; (<a href="System-Posix-DynamicLinker-Prim.html#t:DL">DL</a> -&gt; <a href="../base-4.5.1.0/System-IO.html#t:IO">IO</a> a) -&gt; <a href="../base-4.5.1.0/System-IO.html#t:IO">IO</a> ()</p></div><div class="top"><p class="src"><a name="v:undl" class="def">undl</a> :: <a href="System-Posix-DynamicLinker-Prim.html#t:DL">DL</a> -&gt; <a href="../base-4.5.1.0/Foreign-Ptr.html#t:Ptr">Ptr</a> ()</p><div class="doc"><p><code><a href="System-Posix-DynamicLinker.html#v:undl">undl</a></code> obtains the raw handle. You mustn't do something like
 <code>withDL mod flags $ liftM undl &gt;&gt;=  p -&gt; use p</code>
</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>