ts_open(3)

ts_open3

Open a touch screen input device

Usage

#include <tslib.h>

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

Overview

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.

Releases

Unchanged in 5 releases since Debian 10 (Buster).

  1. 10–Arch

From tslib 1.24-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.