Home | History | Annotate | Download | only in sys
      1 /* Copyright (C) 1996, 1999, 2002, 2003, 2004 Free Software Foundation, Inc.
      2    This file is part of the GNU C Library.
      3 
      4    The GNU C Library is free software; you can redistribute it and/or
      5    modify it under the terms of the GNU Lesser General Public
      6    License as published by the Free Software Foundation; either
      7    version 2.1 of the License, or (at your option) any later version.
      8 
      9    The GNU C Library is distributed in the hope that it will be useful,
     10    but WITHOUT ANY WARRANTY; without even the implied warranty of
     11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     12    Lesser General Public License for more details.
     13 
     14    You should have received a copy of the GNU Lesser General Public
     15    License along with the GNU C Library; if not, write to the Free
     16    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
     17    02111-1307 USA.  */
     18 
     19 #ifndef	_SYS_SYSCTL_H
     20 #define	_SYS_SYSCTL_H	1
     21 
     22 #include <features.h>
     23 #define __need_size_t
     24 #include <stddef.h>
     25 /* Prevent more kernel headers than necessary to be included.  */
     26 #ifndef _LINUX_KERNEL_H
     27 # define _LINUX_KERNEL_H	1
     28 # define __undef_LINUX_KERNEL_H
     29 #endif
     30 #ifndef _LINUX_TYPES_H
     31 # define _LINUX_TYPES_H		1
     32 # define __undef_LINUX_TYPES_H
     33 #endif
     34 #ifndef _LINUX_LIST_H
     35 # define _LINUX_LIST_H		1
     36 # define __undef_LINUX_LIST_H
     37 #endif
     38 #ifndef __LINUX_COMPILER_H
     39 # define __LINUX_COMPILER_H	1
     40 # define __user
     41 # define __undef__LINUX_COMPILER_H
     42 #endif
     43 
     44 #include <linux/sysctl.h>
     45 
     46 #ifdef __undef_LINUX_KERNEL_H
     47 # undef _LINUX_KERNEL_H
     48 # undef __undef_LINUX_KERNEL_H
     49 #endif
     50 #ifdef __undef_LINUX_TYPES_H
     51 # undef _LINUX_TYPES_H
     52 # undef __undef_LINUX_TYPES_H
     53 #endif
     54 #ifdef __undef_LINUX_LIST_H
     55 # undef _LINUX_LIST_H
     56 # undef __undef_LINUX_LIST_H
     57 #endif
     58 #ifdef __undef__LINUX_COMPILER_H
     59 # undef __LINUX_COMPILER_H
     60 # undef __user
     61 # undef __undef__LINUX_COMPILER_H
     62 #endif
     63 
     64 __BEGIN_DECLS
     65 
     66 /* Read or write system parameters.  */
     67 extern int sysctl (int *__name, int __nlen, void *__oldval,
     68 		   size_t *__oldlenp, void *__newval, size_t __newlen) __THROW;
     69 
     70 __END_DECLS
     71 
     72 #endif	/* _SYS_SYSCTL_H */
     73