/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _ALPHA_IOCTL_H #define _ALPHA_IOCTL_H
/* * The original linux ioctl numbering scheme was just a general * "anything goes" setup, where more or less random numbers were * assigned. Sorry, I was clueless when I started out on this. * * On the alpha, we'll try to clean it up a bit, using a more sane * ioctl numbering, and also trying to be compatible with OSF/1 in * the process. I'd like to clean it up for the i386 as well, but * it's so painful recognizing both the new and the old numbers..
*/
/* * Direction bits _IOC_NONE could be 0, but OSF/1 gives it a bit. * And this turns out useful to catch old ioctl numbers in header * files for us.
*/ #define _IOC_NONE 1U #define _IOC_READ 2U #define _IOC_WRITE 4U
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.