lksteh(8)

NAME
lksteh - Control event-handler in LKST.

SYNOPSIS
lksteh command [ option(s) ]

DESCRIPTION
This command controls event-handler in LKST, such as displaying the list of event-handlers and invoking an event-handler-control-function.

COMMANDS

control/ctrl/c -e event_handler_id [-f file_name]
    Invoke an event-handler-control-function.

-e event_handler_id
    Specify    the id of an event-handler-control-function to be invoked.

-f file_name
    Specify the name of an input file in which the data to be passed to the function is written. If omitted, NULL data is passed.

list/ls
    Output the list of all event-handlers.

find -n event-handler_name
    find the id of an event-handler from its name.

-n event-handler_name
    Specify the name of an event-handler to find.

NOTE:
    If no event-handler has event-handler_name, then outputs 255 (=LKST_EVHANDLER_ID_VOID).

version/ver Print version of this command.

help
    Print help message.

RETURN VALUE

0   success

Except 0
    failure

REFERENCES
lkststat(8), ioctl(LKST_IOC_EVHANDLER_CTRL)(2), ioctl(LKST_IOC_EVHANDLER_LIST)(2)