__sysctl prototype
Andreas Jaeger
aj@suse.de
Tue Jan 23 22:55:00 GMT 2001
Ulrich Drepper <drepper@redhat.com> writes:
> Andreas Jaeger <aj@suse.de> writes:
>
> > But what's the best place to add __sysctl since it's Linux specific?
>
> include/sys/sysctl.h
>
> > I propose the appended patch - ok to commit it?
>
> I think my proposed place is better.
What do you think of the appended patch?
Andreas
2001-01-24 Andreas Jaeger <aj@suse.de>
* include/sys/sysctl.h: New.
============================================================
Index: include/sys/sysctl.h
--- include/sys/sysctl.h created
+++ include/sys/sysctl.h Wed Jan 24 07:51:35 2001 1.1
@@ -0,0 +1,9 @@
+#ifndef _SYS_SYSCTL_H
+#include_next <sys/sysctl.h>
+
+/* Read or write system parameters (Linux specific). */
+extern int __sysctl (int *__name, int __nlen, void *__oldval,
+ size_t *__oldlenp, void *__newval, size_t __newlen);
+
+
+#endif /* _SYS_SYSCTL_H */
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Libc-hacker
mailing list