OSDN Git Service

We do not supply a BSD style getloadavg() function
authorEric Andersen <andersen@codepoet.org>
Mon, 15 Aug 2005 12:39:57 +0000 (12:39 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 15 Aug 2005 12:39:57 +0000 (12:39 -0000)
include/stdlib.h

index eaeb7a1..cb84675 100644 (file)
@@ -768,13 +768,6 @@ extern int ptsname_r (int __fd, char *__buf, size_t __buflen) __THROW;
 extern int getpt (void) __THROW;
 #endif
 
-#ifdef __USE_BSD
-/* Put the 1 minute, 5 minute and 15 minute load averages into the first
-   NELEM elements of LOADAVG.  Return the number written (never more than
-   three, but may be less than NELEM), or -1 if an error occurred.  */
-extern int getloadavg (double __loadavg[], int __nelem) __THROW;
-#endif
-
 #endif /* don't just need malloc and calloc */
 #undef __need_malloc_and_calloc