---
name: "ts_close"
section: "3"
platform: "linux"
package: "tslib"
version: "1.24-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/ts_close"
---

# ts\_close(3)

close a touch screen input device

## NAME

ts\_close - close a touch screen input device

## SYNOPSIS

```
#include <tslib.h>

int ts_close(struct tsdev *dev);

```

## DESCRIPTION

**ts\_close**() closes a touch screen input device opened by **ts\_open**() , see ts\_open (3)

## RETURN VALUE

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

## SEE ALSO

[**ts\_open**(3)](/ts_open/3.md), [**ts\_read**(3)](/ts_read/3.md), [**ts\_config**(3)](/ts_config/3.md), [**ts.conf**(5)](/ts.conf/5.md)
