-1 is returned. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left">int <b>history_search_pos</b><i> </i>(<i>const char *string, int direction, int pos</i>)<i>
     </i></td>
<td align="right">Functie</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Search for <var>string</var> in the history list, starting at <var>pos</var>, an
absolute index into the list.  If <var>direction</var> is negative, the search
proceeds backward from <var>pos</var>, otherwise forward.  Returns the