diff options
author | sef <sef@FreeBSD.org> | 1997-12-15 00:29:41 +0000 |
---|---|---|
committer | sef <sef@FreeBSD.org> | 1997-12-15 00:29:41 +0000 |
commit | fa2097bae6e5744e2b6afa15feded72889716ec9 (patch) | |
tree | d971c8e5d0a120cbc14c10c7ef5f3d6be3762d24 /sys/sys/pioctl.h | |
parent | 8e5b281441ab7614a0f1128bc5228ca02d60525b (diff) | |
download | FreeBSD-src-fa2097bae6e5744e2b6afa15feded72889716ec9.zip FreeBSD-src-fa2097bae6e5744e2b6afa15feded72889716ec9.tar.gz |
Explicitly use the _IOC macro directly. This changes the ioctl command
numbers, so any programs using it need to be recompiled.
Diffstat (limited to 'sys/sys/pioctl.h')
-rw-r--r-- | sys/sys/pioctl.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/sys/pioctl.h b/sys/sys/pioctl.h index 60b6701..0a9434f 100644 --- a/sys/sys/pioctl.h +++ b/sys/sys/pioctl.h @@ -1,7 +1,7 @@ /* * procfs ioctl definitions. * - * $Id: pioctl.h,v 1.3 1997/12/08 22:09:39 sef Exp $ + * $Id: pioctl.h,v 1.4 1997/12/13 03:13:36 sef Exp $ */ #ifndef _SYS_PIOCTL_H @@ -17,12 +17,12 @@ struct procfs_status { unsigned long val; /* Any extra data */ }; -# define PIOCBIS _IO('p', 1) /* Set event flag */ -# define PIOCBIC _IO('p', 2) /* Clear event flag */ -# define PIOCSFL _IO('p', 3) /* Set flags */ +# define PIOCBIS _IOC(IOC_IN, 'p', 1, 0) /* Set event flag */ +# define PIOCBIC _IOC(IOC_IN, 'p', 2, 0) /* Clear event flag */ +# define PIOCSFL _IOC(IOC_IN, 'p', 3, 0) /* Set flags */ /* wait for proc to stop */ # define PIOCWAIT _IOR('p', 4, struct procfs_status) -# define PIOCCONT _IO('p', 5) /* Continue a process */ +# define PIOCCONT _IOC(IOC_IN, 'p', 5, 0) /* Continue a process */ /* Get proc status */ # define PIOCSTATUS _IOR('p', 6, struct procfs_status) # define PIOCGFL _IOR('p', 7, unsigned int) /* Get flags */ |