DOKK / manpages / debian 12 / libts0 / ts_config.3.en
TS_CONFIG(3) tslib TS_CONFIG(3)

ts_config, ts_reconfig - read tslib's configuration

#include <tslib.h>

int ts_config(struct tsdev *dev);

int ts_reconfig(struct tsdev *dev);

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.

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

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