X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fref_func_libr.xml;h=499d11b9e5dcab65ee70531b01537dc9d8197bab;hb=6b108d27ffc3f4e08f2529e71911ed02a5310a6d;hp=358abe6b01dc15b50ce57e184a20b6a47f7ed673;hpb=c5115898210dbfa357c208c1bfe58049f7d6ff6d;p=uffi.git
diff --git a/doc/ref_func_libr.xml b/doc/ref_func_libr.xml
index 358abe6..499d11b 100644
--- a/doc/ref_func_libr.xml
+++ b/doc/ref_func_libr.xml
@@ -1,7 +1,7 @@
-
+
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+
%myents;
]>
@@ -61,12 +61,12 @@ foreign function. If :void indicates module does not return
Examples
-
+
(def-function "gethostname"
((name (* :unsigned-char))
(len :int))
:returning :int)
-
+
Side Effects
@@ -103,7 +103,10 @@ foreign function. If :void indicates module does not return
A string or pathname specifying the library location
in the filesystem. At least one implementation (&lw;) can not
-accept a logical pathname.
+accept a logical pathname. If this parameter denotes a pathname without a
+directory component then most of the supported Lisp implementations will be
+able to find the library themselves if it is located in one of the standard
+locations as defined by the underlying operating system.
@@ -150,12 +153,12 @@ a session. A library can be reloaded by using the :force-load k
Examples
-
+
(load-foreign-library #p"/usr/lib/libmysqlclient.so"
:module "mysql"
:supporting-libraries '("c"))
=> T
-
+
Side Effects
@@ -234,13 +237,13 @@ the path of the first found file.
Examples
-
+
(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"))
=> #P"D:\\mysql\\lib\\opt\\libmysql.dll"
-
+
Side Effects