Files
glibc/sysdeps/unix/sysv/linux/sys/sysctl.h
T

73 lines
2.0 KiB
C
Raw Normal View History

2004-04-29 20:09:32 +00:00
/* Copyright (C) 1996, 1999, 2002, 2003, 2004 Free Software Foundation, Inc.
1996-12-10 03:08:06 +00:00
This file is part of the GNU C Library.
1996-12-10 03:08:06 +00:00
The GNU C Library is free software; you can redistribute it and/or
2001-07-06 04:58:11 +00:00
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
1996-12-10 03:08:06 +00:00
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
2001-07-06 04:58:11 +00:00
Lesser General Public License for more details.
2001-07-06 04:58:11 +00:00
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
#ifndef _SYS_SYSCTL_H
1996-12-10 03:08:06 +00:00
#define _SYS_SYSCTL_H 1
2002-11-06 06:12:13 +00:00
#include <features.h>
#define __need_size_t
#include <stddef.h>
2002-11-06 06:12:13 +00:00
/* Prevent more kernel headers than necessary to be included. */
2004-04-29 20:09:32 +00:00
#ifndef _LINUX_KERNEL_H
# define _LINUX_KERNEL_H 1
# define __undef_LINUX_KERNEL_H
#endif
#ifndef _LINUX_TYPES_H
# define _LINUX_TYPES_H 1
# define __undef_LINUX_TYPES_H
#endif
#ifndef _LINUX_LIST_H
# define _LINUX_LIST_H 1
# define __undef_LINUX_LIST_H
#endif
#ifndef __LINUX_COMPILER_H
# define __LINUX_COMPILER_H 1
# define __user
# define __undef__LINUX_COMPILER_H
#endif
#include <linux/sysctl.h>
2004-04-29 20:09:32 +00:00
#ifdef __undef_LINUX_KERNEL_H
# undef _LINUX_KERNEL_H
# undef __undef_LINUX_KERNEL_H
#endif
#ifdef __undef_LINUX_TYPES_H
# undef _LINUX_TYPES_H
# undef __undef_LINUX_TYPES_H
#endif
#ifdef __undef_LINUX_LIST_H
# undef _LINUX_LIST_H
# undef __undef_LINUX_LIST_H
#endif
#ifdef __undef__LINUX_COMPILER_H
# undef __LINUX_COMPILER_H
# undef __user
# undef __undef__LINUX_COMPILER_H
#endif
2002-11-06 06:12:13 +00:00
__BEGIN_DECLS
/* Read or write system parameters. */
1999-10-19 03:14:36 +00:00
extern int sysctl (int *__name, int __nlen, void *__oldval,
size_t *__oldlenp, void *__newval, size_t __newlen) __THROW;
__END_DECLS
1996-12-10 03:08:06 +00:00
#endif /* _SYS_SYSCTL_H */