Skip to content

Commit 805321e

Browse files
committed
Auto merge of #2626 - Mek101:master, r=Amanieu
Add android ioctl constansts: BLKSSZGET and BLKPBSZGET Adds the linux ioctl constants to android
2 parents e470e3b + 9c55170 commit 805321e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

libc-test/semver/android.txt

+2
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,8 @@ HPFS_SUPER_MAGIC
666666
HUGETLBFS_MAGIC
667667
HUPCL
668668
IBSHIFT
669+
BLKSSZGET
670+
BLKPBSZGET
669671
ICANON
670672
ICRNL
671673
IEXTEN

src/unix/linux_like/android/mod.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1548,6 +1548,9 @@ pub const B3500000: ::speed_t = 0o010016;
15481548
pub const B4000000: ::speed_t = 0o010017;
15491549
pub const IBSHIFT: ::tcflag_t = 16;
15501550

1551+
pub const BLKSSZGET: ::c_int = 0x1268;
1552+
pub const BLKPBSZGET: ::c_int = 0x127B;
1553+
15511554
pub const EAI_AGAIN: ::c_int = 2;
15521555
pub const EAI_BADFLAGS: ::c_int = 3;
15531556
pub const EAI_FAIL: ::c_int = 4;

0 commit comments

Comments
 (0)