ts_open - Man Page

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.

Return Value

A pointer to the opened struct tsdev is returned.

See Also

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

Referenced By

ts_close(3), ts_close_restricted(3), ts_config(3), ts_error_fn(3), ts_open_restricted(3), ts_read(3), ts_setup(3).