]>
Commit | Line | Data |
---|---|---|
f7a9f785 | 1 | /* Copyright (C) 1996-2016 Free Software Foundation, Inc. |
8a4b65b4 | 2 | This file is part of the GNU C Library. |
75cd5204 | 3 | |
8a4b65b4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
41bdb6e2 AJ |
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. | |
75cd5204 | 8 | |
8a4b65b4 UD |
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 | |
41bdb6e2 | 12 | Lesser General Public License for more details. |
75cd5204 | 13 | |
41bdb6e2 | 14 | You should have received a copy of the GNU Lesser General Public |
59ba27a6 PE |
15 | License along with the GNU C Library; if not, see |
16 | <http://www.gnu.org/licenses/>. */ | |
75cd5204 RM |
17 | |
18 | #ifndef _SYS_SYSCTL_H | |
8a4b65b4 | 19 | #define _SYS_SYSCTL_H 1 |
75cd5204 | 20 | |
d97426b7 | 21 | #include <features.h> |
75cd5204 RM |
22 | #define __need_size_t |
23 | #include <stddef.h> | |
d97426b7 | 24 | /* Prevent more kernel headers than necessary to be included. */ |
420a2f8b RM |
25 | #ifndef _LINUX_KERNEL_H |
26 | # define _LINUX_KERNEL_H 1 | |
27 | # define __undef_LINUX_KERNEL_H | |
28 | #endif | |
29 | #ifndef _LINUX_TYPES_H | |
30 | # define _LINUX_TYPES_H 1 | |
31 | # define __undef_LINUX_TYPES_H | |
32 | #endif | |
33 | #ifndef _LINUX_LIST_H | |
34 | # define _LINUX_LIST_H 1 | |
35 | # define __undef_LINUX_LIST_H | |
36 | #endif | |
37 | #ifndef __LINUX_COMPILER_H | |
38 | # define __LINUX_COMPILER_H 1 | |
39 | # define __user | |
40 | # define __undef__LINUX_COMPILER_H | |
41 | #endif | |
42 | ||
75cd5204 RM |
43 | #include <linux/sysctl.h> |
44 | ||
420a2f8b RM |
45 | #ifdef __undef_LINUX_KERNEL_H |
46 | # undef _LINUX_KERNEL_H | |
47 | # undef __undef_LINUX_KERNEL_H | |
48 | #endif | |
49 | #ifdef __undef_LINUX_TYPES_H | |
50 | # undef _LINUX_TYPES_H | |
51 | # undef __undef_LINUX_TYPES_H | |
52 | #endif | |
53 | #ifdef __undef_LINUX_LIST_H | |
54 | # undef _LINUX_LIST_H | |
55 | # undef __undef_LINUX_LIST_H | |
56 | #endif | |
57 | #ifdef __undef__LINUX_COMPILER_H | |
58 | # undef __LINUX_COMPILER_H | |
59 | # undef __user | |
60 | # undef __undef__LINUX_COMPILER_H | |
61 | #endif | |
62 | ||
c9009328 L |
63 | #include <bits/sysctl.h> |
64 | ||
d97426b7 UD |
65 | __BEGIN_DECLS |
66 | ||
75cd5204 | 67 | /* Read or write system parameters. */ |
4d3a563f UD |
68 | extern int sysctl (int *__name, int __nlen, void *__oldval, |
69 | size_t *__oldlenp, void *__newval, size_t __newlen) __THROW; | |
75cd5204 RM |
70 | |
71 | __END_DECLS | |
72 | ||
8a4b65b4 | 73 | #endif /* _SYS_SYSCTL_H */ |