mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
#define the ioctls that take no arguments correctly.
This commit is contained in:
parent
2be3bf2244
commit
16a8ba9e03
1 changed files with 4 additions and 4 deletions
|
|
@ -49,12 +49,12 @@ struct procfs_status {
|
|||
unsigned long val; /* Any extra data */
|
||||
};
|
||||
|
||||
# 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 */
|
||||
# define PIOCBIS _IO('p', 1) /* Set event flag */
|
||||
# define PIOCBIC _IO('p', 2) /* Clear event flag */
|
||||
# define PIOCSFL _IO('p', 3) /* Set flags */
|
||||
/* wait for proc to stop */
|
||||
# define PIOCWAIT _IOR('p', 4, struct procfs_status)
|
||||
# define PIOCCONT _IOC(IOC_IN, 'p', 5, 0) /* Continue a process */
|
||||
# define PIOCCONT _IO('p', 5) /* Continue a process */
|
||||
/* Get proc status */
|
||||
# define PIOCSTATUS _IOR('p', 6, struct procfs_status)
|
||||
# define PIOCGFL _IOR('p', 7, unsigned int) /* Get flags */
|
||||
|
|
|
|||
Loading…
Reference in a new issue