summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/sys
diff options
context:
space:
mode:
authorKenneth Myhra <kennethmyhra@gmail.com>2021-08-11 19:17:09 +0200
committerLinus Groh <mail@linusgroh.de>2021-08-14 22:32:00 +0100
commit8d19d8861a24e80f5db57cebafedc1f1c08224bd (patch)
tree85cb5b607275af8fe6258846cee977fb22d6f7ed /Userland/Libraries/LibC/sys
parent78eba1271f194b4ce2bd57d886a483702c38ee51 (diff)
downloadserenity-8d19d8861a24e80f5db57cebafedc1f1c08224bd.zip
LibC: Add FIONREAD to ioctl.h
Diffstat (limited to 'Userland/Libraries/LibC/sys')
-rw-r--r--Userland/Libraries/LibC/sys/ioctl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/sys/ioctl.h b/Userland/Libraries/LibC/sys/ioctl.h
index 55d4affa27..dbded83718 100644
--- a/Userland/Libraries/LibC/sys/ioctl.h
+++ b/Userland/Libraries/LibC/sys/ioctl.h
@@ -11,6 +11,8 @@
__BEGIN_DECLS
+#define FIONREAD 0x541B
+
int ioctl(int fd, unsigned request, ...);
__END_DECLS