Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > e3d62627d1d1aab7ab1be2dd7f65a872 > files > 414

ecl-10.4.1-1.fc14.x86_64.rpm

<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>find-foreign-library</title><link rel="stylesheet" href="ecl.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The ECL manual"><link rel="up" href="rn05.html" title="Functions &amp; Libraries"><link rel="prev" href="rn05re77.html" title="load-foreign-library"><link rel="next" href="bi01.html" title="Bibliography"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><code class="function">find-foreign-library</code></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn05re77.html">Prev</a>&#160;</td><th width="60%" align="center">Functions &amp; Libraries</th><td width="20%" align="right">&#160;<a accesskey="n" href="bi01.html">Next</a></td></tr></table><hr></div><div class="refentry" title="find-foreign-library"><a name="uffi.find-foreign-library"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p><code class="function">find-foreign-library</code> &#8212; Finds a foreign library file.
    </p></div><div class="refsynopsisdiv" title="Function"><h2>Function</h2><pre class="synopsis">
     <code class="function">find-foreign-library</code> <em class="replaceable"><code>names directories &amp; drive-letters types</code></em> =&gt; <span class="returnvalue">path</span>
    </pre><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><em class="parameter"><code>names</code></em></span></p></td><td><p>A string or list of strings containing the base name of the
       library file.</p></td></tr><tr><td><p><span class="term"><em class="parameter"><code>directories</code></em></span></p></td><td><p>A string or list of strings containing the directory the library file.</p></td></tr><tr><td><p><span class="term"><em class="parameter"><code>drive-letters</code></em></span></p></td><td><p>A string or list of strings containing the drive letters for the library file.</p></td></tr><tr><td><p><span class="term"><em class="parameter"><code>types</code></em></span></p></td><td><p>A string or list of strings containing the file type of the library file. Default
       is <code class="constant">NIL</code>. If <code class="constant">NIL</code>, will use a default type based on the currently running implementation.</p></td></tr><tr><td><p><span class="term"><span class="returnvalue">path</span></span></p></td><td><p>A path containing the path found, or <code class="constant">NIL</code> if the library file was not found.</p></td></tr></tbody></table></div></div><div class="refsect1" title="Description"><a name="id696223"></a><h2>Description</h2><p>Finds a foreign library by searching through a number of possible locations. Returns
    the path of the first found file.</p></div><div class="refsect1" title="Examples"><a name="id696234"></a><h2>Examples</h2><pre class="screen">
(find-foreign-library '("libmysqlclient" "libmysql")
     '("/opt/mysql/lib/mysql/" "/usr/local/lib/" "/usr/lib/" "/mysql/lib/opt/")
     :types '("so" "dll")
     :drive-letters '("C" "D" "E"))
=&gt; #P"D:\\mysql\\lib\\opt\\libmysql.dll"
    </pre></div><div class="refsect1" title="Side Effects"><a name="id696248"></a><h2>Side Effects</h2><p>None.</p></div><div class="refsect1" title="Affected by"><a name="id696258"></a><h2>Affected by</h2><p>None.</p></div><div class="refsect1" title="Exceptional Situations"><a name="id696269"></a><h2>Exceptional Situations</h2><p>None.</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn05re77.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="rn05.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="bi01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><code class="function">load-foreign-library</code>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;Bibliography</td></tr></table></div></body></html>