Add more linux ioctl constansts: BLKSSZGET and BLKPBSZGET
This commit is contained in:
parent
bc30b21e82
commit
733b5a80e1
|
@ -189,6 +189,8 @@ B460800
|
|||
B500000
|
||||
B576000
|
||||
B921600
|
||||
BLKPBSZGET
|
||||
BLKSSZGET
|
||||
BOTHER
|
||||
BS0
|
||||
BS1
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue