summaryrefslogtreecommitdiff
path: root/sys/compat/svr4/svr4_ioctl.h
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-08-01 00:50:57 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-08-01 00:50:57 +0000
commita82c8140c72f0f55d9967dc458496992fce2292f (patch)
tree387a5aa34c61ef778d9a1b49b596ea6b459cb2b3 /sys/compat/svr4/svr4_ioctl.h
parent6edefdb68777d682eb395900b8905a95bd3cac7d (diff)
Merge of NetBSD 0722
Diffstat (limited to 'sys/compat/svr4/svr4_ioctl.h')
-rw-r--r--sys/compat/svr4/svr4_ioctl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/compat/svr4/svr4_ioctl.h b/sys/compat/svr4/svr4_ioctl.h
index 0d68512113e..54d84100102 100644
--- a/sys/compat/svr4/svr4_ioctl.h
+++ b/sys/compat/svr4/svr4_ioctl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: svr4_ioctl.h,v 1.2 1996/04/21 22:18:22 deraadt Exp $ */
+/* $OpenBSD: svr4_ioctl.h,v 1.3 1996/08/01 00:50:52 niklas Exp $ */
/* $NetBSD: svr4_ioctl.h,v 1.5 1996/04/11 12:54:43 christos Exp $ */
/*
@@ -39,6 +39,8 @@
#define SVR4_IOC(inout,group,num,len) \
(inout | ((len & 0xff) << 16) | ((group) << 8) | (num))
+#define SVR4_XIOC ('X' << 8)
+
#define SVR4_IO(g,n) SVR4_IOC(SVR4_IOC_VOID, (g), (n), 0)
#define SVR4_IOR(g,n,t) SVR4_IOC(SVR4_IOC_OUT, (g), (n), sizeof(t))
#define SVR4_IOW(g,n,t) SVR4_IOC(SVR4_IOC_IN, (g), (n), sizeof(t))