]> git.ipfire.org Git - thirdparty/glibc.git/blame - sysdeps/unix/sysv/linux/sys/sysctl.h
[BZ #139]
[thirdparty/glibc.git] / sysdeps / unix / sysv / linux / sys / sysctl.h
CommitLineData
cbb91e21 1/* Copyright (C) 1996, 1999, 2002, 2003 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
AJ
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. */
75cd5204
RM
18
19#ifndef _SYS_SYSCTL_H
8a4b65b4 20#define _SYS_SYSCTL_H 1
75cd5204 21
d97426b7 22#include <features.h>
75cd5204
RM
23#define __need_size_t
24#include <stddef.h>
d97426b7
UD
25/* Prevent more kernel headers than necessary to be included. */
26#define _LINUX_KERNEL_H 1
27#define _LINUX_TYPES_H 1
28#define _LINUX_LIST_H 1
cbb91e21
RM
29/* We do need this one for the declarations in <linux/sysctl.h>,
30 since we've elided the inclusion of <linux/kernel.h> that gets them. */
31#include <linux/compiler.h>
75cd5204
RM
32#include <linux/sysctl.h>
33
d97426b7
UD
34__BEGIN_DECLS
35
75cd5204 36/* Read or write system parameters. */
4d3a563f
UD
37extern int sysctl (int *__name, int __nlen, void *__oldval,
38 size_t *__oldlenp, void *__newval, size_t __newlen) __THROW;
75cd5204
RM
39
40__END_DECLS
41
8a4b65b4 42#endif /* _SYS_SYSCTL_H */