FreeBSD port (5): sysctl.h

Bruno Haible bruno@clisp.org
Tue Jul 9 06:41:00 GMT 2002


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);
 



More information about the Libc-alpha mailing list