X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2Fref_func_libr.xml;h=da8b9b73c87a600dd371985a3b26fb56ca716d34;hb=9159e69dd3e978531042271bd4e5d0b5695b28bb;hp=0e48d59fde91c7f4e790040115a5dea1d56f5e3b;hpb=e26a86e113f9139d1d4b009e74809faf51af166b;p=uffi.git
diff --git a/doc/ref_func_libr.xml b/doc/ref_func_libr.xml
index 0e48d59..da8b9b7 100644
--- a/doc/ref_func_libr.xml
+++ b/doc/ref_func_libr.xml
@@ -1,7 +1,7 @@
+
%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.
@@ -135,7 +138,6 @@ link the foreign library. (Required by CMUCL)
A boolean flag, &t; if the library was able to be
loaded successfully or if the library has been previously loaded,
-otherwise &nil;.
@@ -150,12 +152,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
@@ -168,7 +170,7 @@ a session. A library can be reloaded by using the :force-load k
Exceptional Situations
- None.
+ An error will be signaled if the library is unable to be loaded.
@@ -234,13 +236,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