Next Previous Contents

113. SLang_buffer_keystring

Synopsis

Append a keystring to the input buffer

Usage

int SLang_buffer_keystring (unsigned char *b, unsigned int len)

Description

SLang_buffer_keystring places the len characters specified by b at the end of the buffer that SLang_getkey uses. Upon success it returns 0; otherwise, no characters are buffered and it returns -1.

Notes

The difference between SLang_buffer_keystring and SLang_ungetkey_string is that the SLang_buffer_keystring appends the characters to the end of the getkey buffer, whereas SLang_ungetkey_string inserts the characters at the beginning of the input buffer.

See Also

SLang_getkey, SLang_ungetkey, SLang_ungetkey_string


Next Previous Contents