This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
FreeBSD port (5): sysctl.h
- From: Bruno Haible <bruno at clisp dot org>
- To: libc-alpha at sources dot redhat dot com
- Date: Tue, 9 Jul 2002 15:43:12 +0200 (CEST)
- Subject: FreeBSD port (5): sysctl.h
Hi,
FreeBSD has a sysctl system call with the same signature as Linux.
Please update the comment.
diff -r -c3 glibc-20020627.bak/include/sys/sysctl.h glibc-20020627/include/sys/sysctl.h
--- glibc-20020627.bak/include/sys/sysctl.h Wed Jan 24 09:48:05 2001
+++ glibc-20020627/include/sys/sysctl.h Fri Jul 5 01:16:54 2002
@@ -1,7 +1,7 @@
#ifndef _SYS_SYSCTL_H
#include_next <sys/sysctl.h>
-/* Read or write system parameters (Linux specific). */
+/* Read or write system parameters (Linux, FreeBSD specific). */
extern int __sysctl (int *__name, int __nlen, void *__oldval,
size_t *__oldlenp, void *__newval, size_t __newlen);