File: STunQuote.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 (50 lines) | stat: -rw-r--r-- 1,181 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
<HTML>
<HEAD>
<TITLE>TSP (libtsp/ST) - STunQuote</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFACD">
<H2>STunQuote</H2>
<HR>
<H4>Routine</H4>
<DL>
<DT>
int STunQuote (const char Si[], const char Quotes[], char So[])
</DL>
<H4>Purpose</H4>
<DL>
<DT>
Copy a string, removing outer quote characters
</DL>
<H4>Description</H4>
This routine processes a quoted string.  Any outer paired quotes are removed.
<H4>Parameters</H4>
<P>
<PRE>
    Number of characters in the output string
</PRE>
<DL>
<DT>
 -&gt; const char Si[]
<DD>
Input character string
<DT>
 -&gt; const char Quotes[]
<DD>
Character string specifying pairs of quote characters (the left and right
quote characters).  A zero length string indicates that quote characters
should not to be recognized.
<DT>
&lt;-  char So[]
<DD>
Output character string.  This string should provide for at least as many
characters as the input string.  This routine accepts Si = So, in which
case the output string overlays the input string.
</DL>
<H4>Author / revision</H4>
P. Kabal  Copyright (C) 1996
/ Revision 1.1  1996/05/05
<P>
<HR>
Main Index <A HREF="../libtsp.html">libtsp</A>
</BODY>
</HTML>