DOKK / manpages / debian 12 / libts0 / ts_open.3.en
TS_OPEN(3) tslib TS_OPEN(3)

ts_open - open a touch screen input device

#include <tslib.h>

struct tsdev *ts_open(const char *dev_name, int nonblock);

ts_open() allocates memory for a new touch screen device, opens and links the given input event device to it.

A pointer to the opened struct tsdev is returned.

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