{The S-lang C Library Reference}: SLang_make_keystring

Next Previous Contents

## 127. SLang_make_keystring

Synopsis

  Make a printable key sequence

Usage

  `char *SLang_make_keystring (unsigned char *ks);`

Description

  The `SLang_make_keystring` function takes a raw key sequence `ks` and converts it to a printable form by converting characters such as ASCII 1 (ctrl-A) to `^A`. That is, it performs the opposite function of `SLang_process_keystring`.

Notes

  This function returns a pointer to a static area that will be overwritten on the next call to `SLang_make_keystring`.

See Also

  `SLang_process_keystring`

Next Previous Contents