1
.TH c_link 1 "April 1993" "Scilab Group" "Scilab Function"
4
c_link - check dynamic link
8
[test,ilib]=c_link(routine-name)
9
test=c_link(routine-name,num)
20
: boolean, indicates if there is a shared library which contains \fVroutine-name\fR.
22
ilib: a scalar, the number of the shared library which contains \fVroutine-name\fR
25
\fVc_link\fR is a boolean function which checks if the routine \fVroutine-name\fR is currently linked. This function returns a
26
boolean value true or false. When used with two return values, the
27
function \fVc_link\fR returns a boolean value in \fVtest\fR and the
28
number of the shared library which contains \fVroutine-name\fR in
29
\fVilib\fR (when \fVtest\fR is true).
32
if c_link('foo') then link('foo.o','foo');end
33
// to unlink all the shared libarries which contain foo
34
a=%t; while a ;[a,b]=c_link('foo'); ulink(b);end