TS_FD(3)

πŸ’– TS_FD(3) πŸ’–

okay bestie, welcome to the ts_fd page, part of the tslib crew (that's section 3, the library-calls section, iykyk) ✨


🌸 NAME 🌸

ts_fd β€” grab the file descriptor for a touchscreen device 🫢


✨ SYNOPSIS ✨

#include <tslib.h>

int ts_fd(struct tsdev *);

πŸ’… DESCRIPTION πŸ’…

so like. ts_fd() gets you an open touchscreen device's file descriptor. that's it, that's the whole vibe. you hand it your struct tsdev and it hands you back the fd. lowkey iconic, highkey useful πŸ’œ


πŸŽ€ RETURN VALUE πŸŽ€

the file descriptor value is returned. struct tsdev is returned. yes bestie, both of those things are in there, I'm not making it up, that's literally what it says πŸ’€


πŸ‘‘ SEE ALSO πŸ‘‘


no cap: this page is from tslib, and it's the TS_FD(3) page of the tslib manual. mwah, go touch some screens bestie πŸ“πŸ’–βœ¨