<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE> {The S-lang C Library Reference}: SLang_create_static_slstring</TITLE>
<LINK HREF="cref-94.html" REL=next>
<LINK HREF="cref-92.html" REL=previous>
<LINK HREF="cref.html#toc93" REL=contents>
</HEAD>
<BODY>
<A HREF="cref-94.html">Next</A>
<A HREF="cref-92.html">Previous</A>
<A HREF="cref.html#toc93">Contents</A>
<HR>
<H2><A NAME="SLang_create_static_slstring"></A> <A NAME="s93">93. <B>SLang_create_static_slstring</B></A></H2>

<P>
<DL>
<DT><B> Synopsis </B><DD><P>Create a hashed string
<DT><B> Usage </B><DD><P><CODE>char *SLang_create_static_slstring (char *s_literal)</CODE>
<DT><B> Description </B><DD><P>The <CODE>SLang_create_static_slstring</CODE> creates a hashed string from
the string literal <CODE>s_literal</CODE> and returns the result.  Upon
failure it returns <CODE>NULL</CODE>.
<DT><B> Example </B><DD><P>
<BLOCKQUOTE><CODE>
<PRE>
     char *create_hello (void)
     {
        return SLang_create_static_slstring ("hello");
     }
</PRE>
</CODE></BLOCKQUOTE>
<DT><B> Notes </B><DD><P>This function should only be used with string literals.
<DT><B> See Also </B><DD><P><CODE>SLang_create_slstring, SLang_create_nslstring</CODE>
</DL>
<P>
<P>
<P>
<HR>
<A HREF="cref-94.html">Next</A>
<A HREF="cref-92.html">Previous</A>
<A HREF="cref.html#toc93">Contents</A>
</BODY>
</HTML>
