From: roland Date: Wed, 8 May 1996 02:02:01 +0000 (+0000) Subject: Sun May 5 03:10:44 1996 Ulrich Drepper X-Git-Tag: libc-960508~54 X-Git-Url: http://git.csclub.uwaterloo.ca/?p=kopensolaris-gnu%2Fglibc.git;a=commitdiff_plain;h=110eed26a482a443538f2682cc5dd2ef8568f8ae Sun May 5 03:10:44 1996 Ulrich Drepper * sysdeps/unix/sysv/linux/i386/sys/perm.h: New file. Contains prototypes for iopl and ioperm. --- diff --git a/sysdeps/unix/sysv/linux/i386/sys/perm.h b/sysdeps/unix/sysv/linux/i386/sys/perm.h new file mode 100644 index 0000000000..1ae5f2e1db --- /dev/null +++ b/sysdeps/unix/sysv/linux/i386/sys/perm.h @@ -0,0 +1,36 @@ +/* Copyright (C) 1996 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library 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 +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ + +#ifndef _SYS_PERM_H + +#define _SYS_PERM_H 1 +#include + +__BEGIN_DECLS + +/* Set port input/output permissions. */ +extern int ioperm __P ((unsigned long __from, unsigned long __num, + int __turn_on)); + + +/* Change I/O privilege level. */ +extern int iopl __P ((int __level)); + +__END_DECLS + +#endif /* sys/perm.h */