diff options
author | David Isaksson <davidisaksson93@gmail.com> | 2021-10-09 11:19:51 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-09 12:06:47 +0200 |
commit | b2e57f555b2684e06b2c71994255792bcd12a67b (patch) | |
tree | 989a679b770a038ac26924e96f1505a07d047c8c /Userland/Libraries/LibC/sys | |
parent | 8d631dcd5ec8b98eb9810a2021ddef975848ae4d (diff) | |
download | serenity-b2e57f555b2684e06b2c71994255792bcd12a67b.zip |
Kernel: Add ioctl request for getting a storage device's block size
Diffstat (limited to 'Userland/Libraries/LibC/sys')
-rw-r--r-- | Userland/Libraries/LibC/sys/ioctl_numbers.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/sys/ioctl_numbers.h b/Userland/Libraries/LibC/sys/ioctl_numbers.h index 1fa706f02f..8da1f27da3 100644 --- a/Userland/Libraries/LibC/sys/ioctl_numbers.h +++ b/Userland/Libraries/LibC/sys/ioctl_numbers.h @@ -90,6 +90,7 @@ enum IOCtlNumber { SOUNDCARD_IOCTL_SET_SAMPLE_RATE, SOUNDCARD_IOCTL_GET_SAMPLE_RATE, STORAGE_DEVICE_GET_SIZE, + STORAGE_DEVICE_GET_BLOCK_SIZE, }; #define TIOCGPGRP TIOCGPGRP @@ -134,3 +135,4 @@ enum IOCtlNumber { #define SOUNDCARD_IOCTL_SET_SAMPLE_RATE SOUNDCARD_IOCTL_SET_SAMPLE_RATE #define SOUNDCARD_IOCTL_GET_SAMPLE_RATE SOUNDCARD_IOCTL_GET_SAMPLE_RATE #define STORAGE_DEVICE_GET_SIZE STORAGE_DEVICE_GET_SIZE +#define STORAGE_DEVICE_GET_BLOCK_SIZE STORAGE_DEVICE_GET_BLOCK_SIZE |