input_parse_double()

Parse an option of the type double.

Synopsis:

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

Arguments:

option

Option of type string to be parsed.

value

Value of the option.

out

The double value of option.

Library:

libinputevents

Description:

Returns:

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