1TS_CLOSE_RESTRICTED(3)               tslib              TS_CLOSE_RESTRICTED(3)
2
3
4

NAME

6       ts_close_restricted  -  use  a  custom  function for closing the touch‐
7       screen's input device file
8

SYNOPSIS

10       #include <tslib.h>
11
12       void (*ts_close_restricted)(int fd, void *user_data);
13
14
15

DESCRIPTION

17       ts_close_restricted() is useful if libts should not be run as root.  If
18       such  a  function  is  implemented  by  the  user  and  assigned to the
19       ts_close_restricted pointer, it will be called by ts_close() instead of
20       the close() system call directly.
21
22       It  should  obviously  close  the  device with file descriptor fd while
23       user_data is currently unused.
24
25

SEE ALSO

27       ts_open_restricted(3), ts_open(3), ts_setup(3), ts_close(3), ts.conf(5)
28
29
30
31                                                        TS_CLOSE_RESTRICTED(3)
Impressum