{The S-lang C Library Reference}: SLang_find_key_function

Next Previous Contents

## 124. SLang_find_key_function

Synopsis

  Obtain a function pointer associated with a keymap

Usage

  `FVOID_STAR SLang_find_key_function (fname, km);`

  > `

  >         char *fname;
  >         SLKeyMap_List_Type *km;

  > `

Description

  The `SLang_find_key_function` routine searches through the `SLKeymap_Function_Type` list of functions associated with the keymap `km` for the function with name `fname`. If a matching function is found, a pointer to the function will be returned, otherwise `SLang_find_key_function` will return `NULL`.

See Also

  `SLang_create_keymap, SLang_find_keymap`

Next Previous Contents