Sophie

Sophie

distrib > Mandriva > 8.1 > i586 > by-pkgid > 700475c8ae73fb4d57b6df4485c29e1c > files > 133

slang-doc-1.4.4-2mdk.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE> {The S-lang C Library Reference}: SLang_push_string</TITLE>
 <LINK HREF="cref-77.html" REL=next>
 <LINK HREF="cref-75.html" REL=previous>
 <LINK HREF="cref.html#toc76" REL=contents>
</HEAD>
<BODY>
<A HREF="cref-77.html">Next</A>
<A HREF="cref-75.html">Previous</A>
<A HREF="cref.html#toc76">Contents</A>
<HR>
<H2><A NAME="SLang_push_string"></A> <A NAME="s76">76. <B>SLang_push_string</B></A></H2>

<P>
<DL>
<DT><B> Synopsis </B><DD><P>Push a string onto the stack
<DT><B> Usage </B><DD><P><CODE>int SLang_push_string (char *s)</CODE>
<DT><B> Description </B><DD><P><CODE>SLang_push_string</CODE> pushes a copy of the string specified by
<CODE>s</CODE> onto the interpreter's run-time stack.  It returns zero
upon success, or <CODE>-1</CODE> upon error setting <CODE>SLang_Error</CODE>
accordingly.
<DT><B> Notes </B><DD><P>If <CODE>s</CODE> is <CODE>NULL</CODE>, this function pushes <CODE>NULL</CODE>
(<CODE>SLANG_NULL_TYPE</CODE>) onto the stack.
<DT><B> See Also </B><DD><P><CODE>SLang_push_malloced_string</CODE>
</DL>
<P>
<P>
<HR>
<A HREF="cref-77.html">Next</A>
<A HREF="cref-75.html">Previous</A>
<A HREF="cref.html#toc76">Contents</A>
</BODY>
</HTML>