<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE> {The S-lang C Library Reference}: SLang_find_key_function</TITLE>
<LINK HREF="cref-125.html" REL=next>
<LINK HREF="cref-123.html" REL=previous>
<LINK HREF="cref.html#toc124" REL=contents>
</HEAD>
<BODY>
<A HREF="cref-125.html">Next</A>
<A HREF="cref-123.html">Previous</A>
<A HREF="cref.html#toc124">Contents</A>
<HR>
<H2><A NAME="SLang_find_key_function"></A> <A NAME="s124">124. <B>SLang_find_key_function</B></A></H2>

<P>
<DL>
<DT><B> Synopsis </B><DD><P>Obtain a function pointer associated with a keymap
<DT><B> Usage </B><DD><P><CODE>FVOID_STAR SLang_find_key_function (fname, km);</CODE>
<BLOCKQUOTE><CODE>
<PRE>
    char *fname;
    SLKeyMap_List_Type *km;
</PRE>
</CODE></BLOCKQUOTE>
<DT><B> Description </B><DD><P>The <CODE>SLang_find_key_function</CODE> routine searches through the
<CODE>SLKeymap_Function_Type</CODE> list of functions associated with the
keymap <CODE>km</CODE> for the function with name <CODE>fname</CODE>.
If a matching function is found, a pointer to the function will
be returned, otherwise <CODE>SLang_find_key_function</CODE> will return
<CODE>NULL</CODE>.
<DT><B> See Also </B><DD><P><CODE>SLang_create_keymap, SLang_find_keymap</CODE>
</DL>
<P>
<P>
<P>
<HR>
<A HREF="cref-125.html">Next</A>
<A HREF="cref-123.html">Previous</A>
<A HREF="cref.html#toc124">Contents</A>
</BODY>
</HTML>
