[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Glibc-bsd-hackers] [bug #4308] [kfreebsd] missing stuff in <sys/sysinfo
From: |
nobody |
Subject: |
[Glibc-bsd-hackers] [bug #4308] [kfreebsd] missing stuff in <sys/sysinfo.h> |
Date: |
Mon, 14 Jul 2003 13:19:49 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686) Gecko/20030527 Galeon/1.3.5 Debian/1.3.5.20030615-1 |
=================== BUG #4308: FULL BUG SNAPSHOT ===================
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=4308&group_id=4737
Submitted by: robertmh Project: Glibc support for *BSD's kernels
Submitted on: Mon 07/14/2003 at 19:19
Category: None Severity: 5 - Major
Bug Group: None Resolution: None
Assigned to: None Status: Open
Summary: [kfreebsd] missing stuff in <sys/sysinfo.h>
Original Submission:
need to declare the sysinfo structure, and add a replacemtn for the missing
stuff provided by <linux/kernel.h> on GNU/Linux's <sys/sysinfo.h>.
this includes SI_LOAD_SHIFT. a fixed <sys/sysinfo.h> is needed for Debian's
autobuilder software (http://m68k.debian.org/buildd/getting.html)
hunks between kfreebsd and linux versions:
@@ -21,8 +21,15 @@
#include <features.h>
+/* Get sysinfo structure from kernel header. */
+#include <linux/kernel.h>
+
__BEGIN_DECLS
+/* Returns information on overall system statistics. */
+extern int sysinfo (struct sysinfo *__info) __THROW;
+
+
/* Return number of configured processors. */
extern int get_nprocs_conf (void) __THROW;
No Followups Have Been Posted
CC list is empty
No files currently attached
For detailed info, follow this link:
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=4308&group_id=4737
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [Glibc-bsd-hackers] [bug #4308] [kfreebsd] missing stuff in <sys/sysinfo.h>,
nobody <=