~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/utilities/c_link.man

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH c_link 1 "April 1993" "Scilab Group" "Scilab Function"
2
 
.so ../sci.an
3
 
.SH NAME
4
 
c_link - check dynamic link
5
 
.SH CALLING SEQUENCE
6
 
.nf
7
 
c_link(routine-name)
8
 
[test,ilib]=c_link(routine-name)
9
 
test=c_link(routine-name,num)
10
 
.fi
11
 
.SH PARAMETERS
12
 
.TP 13
13
 
routine-name
14
 
: a character string
15
 
.TP 
16
 
num
17
 
:
18
 
.TP
19
 
test
20
 
: boolean, indicates if there is a shared library which contains \fVroutine-name\fR.
21
 
.TP
22
 
ilib: a scalar, the number of the shared library which contains \fVroutine-name\fR 
23
 
 
24
 
.SH DESCRIPTION
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).
30
 
.SH EXAMPLE
31
 
.nf
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
35
 
.fi
36
 
.SH SEE ALSO
37
 
link, fort