File: STtrim.html

package info (click to toggle)
libtsp 3r0-1
  • links: PTS
  • area: non-free
  • in suites: potato, woody
  • size: 5,096 kB
  • ctags: 1,798
  • sloc: ansic: 14,464; sh: 1,217; makefile: 182
file content (45 lines) | stat: -rw-r--r-- 928 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
<HTML>
<HEAD>
<TITLE>TSP (libtsp/ST) - STtrim</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFACD">
<H2>STtrim</H2>
<HR>
<H4>Routine</H4>
<DL>
<DT>
int STtrim (const char Si[], char So[])
</DL>
<H4>Purpose</H4>
<DL>
<DT>
Copy a string, trimming leading and trailing white-space
</DL>
<H4>Description</H4>
This routine copies characters from the input string to the output string.
Leading white space characters and trailing white space characters are
omitted.
<H4>Parameters</H4>
<DL>
<DT>
&lt;-  int STtrim
<DD>
Number of characters in the output string
<DT>
 -&gt; const char Si[]
<DD>
Input character string
<DT>
&lt;-  char So[]
<DD>
Output character string.  The output string pointer can be the same as
the input string pointer.
</DL>
<H4>Author / revision</H4>
P. Kabal  Copyright (C) 1998
/ Revision 1.4  1998/07/02
<P>
<HR>
Main Index <A HREF="../libtsp.html">libtsp</A>
</BODY>
</HTML>