tfc 0.7.0

The Fat Controller. A library for simulating mouse and keyboard events.
Documentation
1
2
3
4
5
6
7
8
9
10
11
// unistd.h

use std::ffi::{c_int, c_void};

extern {
    // https://man7.org/linux/man-pages/man2/close.2.html
    pub fn close(fd: c_int) -> c_int;

    // https://man7.org/linux/man-pages/man2/write.2.html
    pub fn write(fd: c_int, buf: *const c_void, count: usize) -> isize;
}