input_parse_signed()

Parse an option of the type integer.

Synopsis:

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

Arguments:

option

Option of type integer to be parsed.

value

Value of the option.

out

The integer value of option.

Library:

libinputevents

Description:

Returns:

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