input_parse_unsigned()

Parse an option of the type unsigned integer.

Synopsis:

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

Arguments:

option

Option of type unsgined integer to be parsed.

value

Value of the option.

out

The unsigned integer value of option.

Library:

libinputevents

Description:

Returns:

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