Debian Codegraph @

opcodes/strcpy.xml

raw symbols SCIP
1
2 <refentry id="strcpy">
3 <indexterm id="Indexstrcpy"><primary>strcpy</primary></indexterm>
4 <refentryinfo><title>Strings:Manipulation</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>strcpy</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>strcpy</refname>
11 <refpurpose>
12 Assign value to a string variable
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Assign to a string variable by copying the source which may be a constant or another string variable. strcpy and = copy the string at i-time only.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis>Sdst <command>strcpy</command> Ssrc</synopsis>
26 <synopsis>Sdst <command>=</command> Ssrc</synopsis>
27 </refsect1>
28
29 <refsect1>
30 <title>Example</title>
31 <programlisting>
32 Sfoo <emphasis role="opc">strcpy</emphasis> "Hello, world !"
33 <emphasis role="opc">puts</emphasis> Sfoo, 1</programlisting>
34 </refsect1>
35
36 <refsect1>
37 <title>See Also</title>
38 <para><link linkend="stringmanipulate"><citetitle></citetitle>String Manipulation Opcodes</link></para>
39 </refsect1>
40
41 <refsect1>
42 <title>Credits</title>
43 <para>
44 <simplelist>
45 <member>Author: Istvan Varga</member>
46 <member>2005</member>
47 </simplelist>
48 </para>
49 </refsect1>
50 </refentry>