ts_config man page

ts_config, ts_reconfig ā€” read tslib's configuration

Synopsis

#include <tslib.h>

int ts_config(struct tsdev *dev);

int ts_reconfig(struct tsdev *dev);

Description

ts_config() loads and initialises all modules configured in the tslib configuration file TSLIB_CONFFILE , see ts.conf (5). ts_reconfig() re-runs ts_config and updates the configuration if the configuration file has changed.

Return Value

Zero is returned on success. A negative value is returned in case of an error.

See Also

ts_read(3), ts_open(3), ts_setup(3), ts_close(3), ts.conf(5)

Referenced By

ts_close(3), ts_conf_set(3), ts_open(3), ts_read(3), ts_setup(3).

tslib