input_parse_string()

Parse an option of the type string.

Synopsis:

#include <input/parseopts.h>
 
int input_parse_string(const char *option, const char *value, char **out)

Arguments:

option

Option of type string to be parsed.

value

Value of the option.

out

The string value of option.

Library:

libinputevents

Description:

Returns:

0 if successful, otherwise non-zero if an error occurred.