summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/sys/ioctl_numbers.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibC/sys/ioctl_numbers.h')
-rw-r--r--Userland/Libraries/LibC/sys/ioctl_numbers.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/sys/ioctl_numbers.h b/Userland/Libraries/LibC/sys/ioctl_numbers.h
index c22f884ff6..62f0b2010e 100644
--- a/Userland/Libraries/LibC/sys/ioctl_numbers.h
+++ b/Userland/Libraries/LibC/sys/ioctl_numbers.h
@@ -30,6 +30,11 @@ struct FBRect {
unsigned height;
};
+struct FBBufferOffset {
+ int buffer_index;
+ unsigned offset;
+};
+
struct FBFlushRects {
int buffer_index;
unsigned count;
@@ -55,6 +60,7 @@ enum IOCtlNumber {
FB_IOCTL_GET_RESOLUTION,
FB_IOCTL_SET_RESOLUTION,
FB_IOCTL_GET_BUFFER,
+ FB_IOCTL_GET_BUFFER_OFFSET,
FB_IOCTL_SET_BUFFER,
FB_IOCTL_FLUSH_BUFFERS,
SIOCSIFADDR,
@@ -88,6 +94,7 @@ enum IOCtlNumber {
#define FB_IOCTL_GET_RESOLUTION FB_IOCTL_GET_RESOLUTION
#define FB_IOCTL_SET_RESOLUTION FB_IOCTL_SET_RESOLUTION
#define FB_IOCTL_GET_BUFFER FB_IOCTL_GET_BUFFER
+#define FB_IOCTL_GET_BUFFER_OFFSET FB_IOCTL_GET_BUFFER_OFFSET
#define FB_IOCTL_SET_BUFFER FB_IOCTL_SET_BUFFER
#define FB_IOCTL_FLUSH_BUFFERS FB_IOCTL_FLUSH_BUFFERS
#define SIOCSIFADDR SIOCSIFADDR