[Glibc-bsd-commits] r4209 - trunk/glibc-ports/kfreebsd/bits

Robert Millan rmh at alioth.debian.org
Thu Apr 19 18:25:31 UTC 2012


Author: rmh
Date: 2012-04-19 18:25:30 +0000 (Thu, 19 Apr 2012)
New Revision: 4209

Modified:
   trunk/glibc-ports/kfreebsd/bits/resource.h
Log:
Add struct orlimit and struct loadavg

Modified: trunk/glibc-ports/kfreebsd/bits/resource.h
===================================================================
--- trunk/glibc-ports/kfreebsd/bits/resource.h	2012-04-19 17:36:23 UTC (rev 4208)
+++ trunk/glibc-ports/kfreebsd/bits/resource.h	2012-04-19 18:25:30 UTC (rev 4209)
@@ -22,6 +22,7 @@
 #endif
 
 #include <bits/types.h>
+#include <sys/_types.h>
 
 /* Transmute defines to enumerations.  The macro re-definitions are
    necessary because some programs want to test for operating system
@@ -118,6 +119,16 @@
  };
 #endif
 
+struct orlimit {
+	__int32_t	rlim_cur;	/* current (soft) limit */
+	__int32_t	rlim_max;	/* maximum value for rlim_cur */
+};
+
+struct loadavg {
+	__fixpt_t	ldavg[3];
+	long		fscale;
+};
+
 #define	CP_USER		0
 #define	CP_NICE		1
 #define	CP_SYS		2




More information about the Glibc-bsd-commits mailing list