Add more linux ioctl constansts: BLKSSZGET and BLKPBSZGET

This commit is contained in:
Mek101 2021-11-17 10:56:44 +01:00
parent bc30b21e82
commit 733b5a80e1
5 changed files with 14 additions and 0 deletions

View file

@ -189,6 +189,8 @@ B460800
B500000
B576000
B921600
BLKPBSZGET
BLKSSZGET
BOTHER
BS0
BS1

View file

@ -135,3 +135,6 @@ pub const TIOCM_DSR: ::c_int = 0x100;
pub const BOTHER: ::speed_t = 0o010000;
pub const IBSHIFT: ::tcflag_t = 16;
pub const BLKSSZGET: ::c_int = 0x1268;
pub const BLKPBSZGET: ::c_int = 0x127B;

View file

@ -131,3 +131,6 @@ pub const TIOCM_DSR: ::c_int = 0x400;
pub const BOTHER: ::speed_t = 0o010000;
pub const IBSHIFT: ::tcflag_t = 16;
pub const BLKSSZGET: ::c_int = 0x1268;
pub const BLKPBSZGET: ::c_int = 0x127B;

View file

@ -109,3 +109,6 @@ pub const TIOCM_DSR: ::c_int = 0x100;
pub const BOTHER: ::speed_t = 0o0037;
pub const IBSHIFT: ::tcflag_t = 16;
pub const BLKSSZGET: ::c_int = 0x1268;
pub const BLKPBSZGET: ::c_int = 0x127B;

View file

@ -123,3 +123,6 @@ pub const TIOCM_DSR: ::c_int = 0x100;
pub const BOTHER: ::speed_t = 0x1000;
pub const IBSHIFT: ::tcflag_t = 16;
pub const BLKSSZGET: ::c_int = 0x20001268;
pub const BLKPBSZGET: ::c_int = 0x2000127B;