diff options
author | Roland McGrath <roland@gnu.org> | 1999-10-04 06:24:10 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1999-10-04 06:24:10 +0000 |
commit | b2277c15308675ab7b9cafc1499ab060ee283560 (patch) | |
tree | 737af96ebd171dc44a45d217243522e1e4c13c53 /stdlib | |
parent | 4572f6c2aa8c49315b8d18dac563a7323157c8e1 (diff) | |
download | glibc-b2277c15308675ab7b9cafc1499ab060ee283560.tar.gz glibc-b2277c15308675ab7b9cafc1499ab060ee283560.tar.xz glibc-b2277c15308675ab7b9cafc1499ab060ee283560.zip |
1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
* stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/stdlib.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h index bec12090f3..70a975edf9 100644 --- a/stdlib/stdlib.h +++ b/stdlib/stdlib.h @@ -774,6 +774,13 @@ extern int ptsname_r __P ((int __fd, char *__buf, size_t __buflen)); extern int getpt __P ((void)); #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 __P ((double __loadavg[], int __nelem)); +#endif + #endif /* don't just need malloc and calloc */ #undef __need_malloc_and_calloc |