mirror of
https://github.com/vlang/v.git
synced 2025-08-03 17:57:59 -04:00
term, term.termios: update fn C.ioctl
declaration (#21982)
This commit is contained in:
parent
71aa3a463d
commit
3ca5bc3bcd
@ -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) {
|
||||
|
@ -35,7 +35,7 @@ fn C.tcgetattr(fd int, termios_p &C.termios) int
|
||||
|
||||
fn C.tcsetattr(fd int, optional_actions int, const_termios_p &C.termios) int
|
||||
|
||||
fn C.ioctl(fd int, request u64, arg voidptr) int
|
||||
fn C.ioctl(fd int, request u64, args ...voidptr) int
|
||||
|
||||
// flag provides a termios flag of the correct size
|
||||
// for the underlying C.termios structure
|
||||
|
@ -34,7 +34,7 @@ fn C.tcgetattr(fd int, termios_p &C.termios) int
|
||||
|
||||
fn C.tcsetattr(fd int, optional_actions int, const_termios_p &C.termios) int
|
||||
|
||||
fn C.ioctl(fd int, request u64, arg voidptr) int
|
||||
fn C.ioctl(fd int, request u64, args ...voidptr) int
|
||||
|
||||
// flag provides a termios flag of the correct size
|
||||
// for the underlying C.termios structure
|
||||
|
@ -34,7 +34,7 @@ fn C.tcgetattr(fd int, termios_p &C.termios) int
|
||||
|
||||
fn C.tcsetattr(fd int, optional_actions int, const_termios_p &C.termios) int
|
||||
|
||||
fn C.ioctl(fd int, request u64, arg voidptr) int
|
||||
fn C.ioctl(fd int, request u64, args ...voidptr) int
|
||||
|
||||
// flag provides a termios flag of the correct size
|
||||
// for the underlying C.termios structure
|
||||
|
@ -34,7 +34,7 @@ fn C.tcgetattr(fd int, termios_p &C.termios) int
|
||||
|
||||
fn C.tcsetattr(fd int, optional_actions int, const_termios_p &C.termios) int
|
||||
|
||||
fn C.ioctl(fd int, request u64, arg voidptr) int
|
||||
fn C.ioctl(fd int, request u64, args ...voidptr) int
|
||||
|
||||
// flag provides a termios flag of the correct size
|
||||
// for the underlying C.termios structure
|
||||
|
@ -35,7 +35,7 @@ fn C.tcgetattr(fd int, termios_p &C.termios) int
|
||||
|
||||
fn C.tcsetattr(fd int, optional_actions int, const_termios_p &C.termios) int
|
||||
|
||||
fn C.ioctl(fd int, request u64, arg voidptr) int
|
||||
fn C.ioctl(fd int, request u64, args ...voidptr) int
|
||||
|
||||
// flag provides a termios flag of the correct size
|
||||
// for the underlying C.termios structure
|
||||
|
@ -34,7 +34,7 @@ fn C.tcgetattr(fd int, termios_p &C.termios) int
|
||||
|
||||
fn C.tcsetattr(fd int, optional_actions int, const_termios_p &C.termios) int
|
||||
|
||||
fn C.ioctl(fd int, request u64, arg voidptr) int
|
||||
fn C.ioctl(fd int, request u64, args ...voidptr) int
|
||||
|
||||
// flag provides a termios flag of the correct size
|
||||
// for the underlying C.termios structure
|
||||
|
@ -35,7 +35,7 @@ fn C.tcgetattr(fd int, termios_p &C.termios) int
|
||||
|
||||
fn C.tcsetattr(fd int, optional_actions int, const_termios_p &C.termios) int
|
||||
|
||||
fn C.ioctl(fd int, request u64, arg voidptr) int
|
||||
fn C.ioctl(fd int, request u64, args ...voidptr) int
|
||||
|
||||
// flag provides a termios flag of the correct size
|
||||
// for the underlying C.termios structure
|
||||
|
@ -32,7 +32,7 @@ fn C.tcgetattr(fd int, termios_p &C.termios) int
|
||||
|
||||
fn C.tcsetattr(fd int, optional_actions int, const_termios_p &C.termios) int
|
||||
|
||||
fn C.ioctl(fd int, request u64, arg voidptr) int
|
||||
fn C.ioctl(fd int, request u64, args ...voidptr) int
|
||||
|
||||
// flag provides a termios flag of the correct size
|
||||
// for the underlying C.termios structure
|
||||
|
Loading…
x
Reference in New Issue
Block a user