summaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-03-19 18:58:32 -0400
committerRich Felker <dalias@aerifal.cx>2011-03-19 18:58:32 -0400
commitb0e83133e2e9242c60e83d25b1c5425ffc6d6d6f (patch)
tree66c8803c9146d2416345b1e3cd3d547d5628842f /include/sys
parentd00ff2950eacc375d57e44d65c7697f636c67625 (diff)
downloadmusl-b0e83133e2e9242c60e83d25b1c5425ffc6d6d6f.tar.gz
musl-b0e83133e2e9242c60e83d25b1c5425ffc6d6d6f.tar.bz2
musl-b0e83133e2e9242c60e83d25b1c5425ffc6d6d6f.tar.xz
musl-b0e83133e2e9242c60e83d25b1c5425ffc6d6d6f.zip
add some ioctl stuff to sys/mount.h
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/mount.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/sys/mount.h b/include/sys/mount.h
index 2c685f67..9420c564 100644
--- a/include/sys/mount.h
+++ b/include/sys/mount.h
@@ -1,6 +1,24 @@
#ifndef _SYS_MOUNT_H
#define _SYS_MOUNT_H
+#include <sys/ioctl.h>
+
+#define BLKROSET _IO(0x12, 93)
+#define BLKROGET _IO(0x12, 94)
+#define BLKRRPART _IO(0x12, 95)
+#define BLKGETSIZE _IO(0x12, 96)
+#define BLKFLSBUF _IO(0x12, 97)
+#define BLKRASET _IO(0x12, 98)
+#define BLKRAGET _IO(0x12, 99)
+#define BLKFRASET _IO(0x12,100)
+#define BLKFRAGET _IO(0x12,101)
+#define BLKSECTSET _IO(0x12,102)
+#define BLKSECTGET _IO(0x12,103)
+#define BLKSSZGET _IO(0x12,104)
+#define BLKBSZGET _IOR(0x12,112,size_t)
+#define BLKBSZSET _IOW(0x12,113,size_t)
+#define BLKGETSIZE64 _IOR(0x12,114,size_t)
+
#define MS_RDONLY 1
#define MS_NOSUID 2
#define MS_NODEV 4