File: STdec1long.html

package info (click to toggle)
libtsp 2r8-1
  • links: PTS
  • area: non-free
  • in suites: slink
  • size: 4,908 kB
  • ctags: 1,409
  • sloc: ansic: 12,525; sh: 1,044; makefile: 164
file content (52 lines) | stat: -rw-r--r-- 1,200 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<HTML>
<HEAD>
<TITLE>TSP (libtsp/ST) - STdec1long</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFACD">
<H2>STdec1long</H2>
<HR>
<H4>Routine</H4>
<DL>
<DT>
int STdec1long (const char String[], long int *Lval)
</DL>
<H4>Purpose</H4>
<DL>
<DT>
Decode a long integer value
</DL>
<H4>Description</H4>
This routine decodes a string containing a numeric value.  The decoded datum
is stored as a long integer value.  If a decoding error is detected, a
warning message is printed and an error status value is returned.  A warning
message is printed if extra data follows the requested value (this data is
ignored).
<H4>Parameters</H4>
<DL>
<DT>
&lt;-  int STdec1long
<DD>
Error status, 0 for no error, 1 for error
<DT>
 -&gt; const char String[]
<DD>
Input string
<DT>
&lt;-  long int *Lval
<DD>
Returned value.  This value is not changed if an error status is
returned.
</DL>
<H4>Author / revision</H4>
P. Kabal  Copyright (C) 1996
/ Revision 1.2  1996/05/31
<H4>See Also</H4>
<A HREF="STdec1double.html">STdec1double</A>,
<A HREF="STdec1float.html">STdec1float</A>,
<A HREF="STdec1int.html">STdec1int</A>,
<A HREF="STdecNlong.html">STdecNlong</A>
<P>
<HR>
Main Index <A HREF="../libtsp.html">libtsp</A>
</BODY>
</HTML>