This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |