Prechádzať zdrojové kódy

We do not supply a BSD style getloadavg() function

Eric Andersen 19 rokov pred
rodič
commit
5c484467f7
1 zmenil súbory, kde vykonal 0 pridanie a 7 odobranie
  1. 0 7
      include/stdlib.h

+ 0 - 7
include/stdlib.h

@@ -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