/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ /* * Linux/PA-RISC Project (http://www.parisc-linux.org/) * Copyright (C) 1999,2003 Matthew Wilcox < willy at debian . org > * portions from "linux/ioctl.h for Linux" by H.H. Bergman. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _ASM_PARISC_IOCTL_H #define _ASM_PARISC_IOCTL_H /* ioctl command encoding: 32 bits total, command in lower 16 bits, * size of the parameter structure in the lower 14 bits of the * upper 16 bits. * Encoding the size of the parameter structure in the ioctl request * is useful for catching programs compiled with old versions * and to avoid overwriting user space outside the user buffer area. * The highest 2 bits are reserved for indicating the ``access mode''. * NOTE: This limits the max parameter size to 16kB -1 ! */ /* * Direction bits. */ #define _IOC_NONE 0U #define _IOC_WRITE 2U #define _IOC_READ 1U #include <asm-generic/ioctl.h> #endif /* _ASM_PARISC_IOCTL_H */
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Kbuild | File | 212 B | 0644 |
|
bitsperlong.h | File | 302 B | 0644 |
|
byteorder.h | File | 194 B | 0644 |
|
errno.h | File | 5.7 KB | 0644 |
|
fcntl.h | File | 1.21 KB | 0644 |
|
ioctl.h | File | 1.67 KB | 0644 |
|
ioctls.h | File | 3.58 KB | 0644 |
|
ipcbuf.h | File | 837 B | 0644 |
|
mman.h | File | 3.34 KB | 0644 |
|
msgbuf.h | File | 1.16 KB | 0644 |
|
pdc.h | File | 21.97 KB | 0644 |
|
posix_types.h | File | 726 B | 0644 |
|
ptrace.h | File | 2.75 KB | 0644 |
|
sembuf.h | File | 857 B | 0644 |
|
setup.h | File | 173 B | 0644 |
|
shmbuf.h | File | 1.38 KB | 0644 |
|
sigcontext.h | File | 557 B | 0644 |
|
siginfo.h | File | 239 B | 0644 |
|
signal.h | File | 2.87 KB | 0644 |
|
socket.h | File | 2.42 KB | 0644 |
|
sockios.h | File | 410 B | 0644 |
|
stat.h | File | 1.76 KB | 0644 |
|
statfs.h | File | 181 B | 0644 |
|
swab.h | File | 1.77 KB | 0644 |
|
termbits.h | File | 4.67 KB | 0644 |
|
termios.h | File | 1.08 KB | 0644 |
|
types.h | File | 154 B | 0644 |
|
unistd.h | File | 17.79 KB | 0644 |
|