term, term.termios: update fn C.ioctl declaration (#21982)

This commit is contained in:
Delyan Angelov 2024-08-02 18:03:13 +03:00 committed by GitHub
parent 71aa3a463d
commit 3ca5bc3bcd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 9 additions and 9 deletions

View file

@ -13,7 +13,7 @@ pub:
ws_ypixel u16
}
fn C.ioctl(fd int, request u64, arg voidptr) int
fn C.ioctl(fd int, request u64, args ...voidptr) int
// get_terminal_size returns a number of columns and rows of terminal window.
pub fn get_terminal_size() (int, int) {