Explorar o código

We do not supply a BSD style getloadavg() function

Eric Andersen %!s(int64=19) %!d(string=hai) anos
pai
achega
5c484467f7
Modificáronse 1 ficheiros con 0 adicións e 7 borrados
  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