Description:
Return the current system load averages.

Files:
lib/getloadavg.c
m4/getloadavg.m4

Depends-on:
snippet/warn-on-use
extensions
intprops  [test $HAVE_GETLOADAVG = 0]
stdbool   [test $HAVE_GETLOADAVG = 0]

configure.ac:
gl_STDLIB_H
gl_STDLIB_H_REQUIRE_DEFAULTS
AC_REQUIRE([AC_CANONICAL_HOST])
gl_GETLOADAVG
gl_CONDITIONAL([GL_COND_OBJ_GETLOADAVG], [test $HAVE_GETLOADAVG = 0])
AM_COND_IF([GL_COND_OBJ_GETLOADAVG], [
  gl_PREREQ_GETLOADAVG
])
gl_STDLIB_MODULE_INDICATOR([getloadavg])

Makefile.am:
if GL_COND_OBJ_GETLOADAVG
lib_SOURCES += getloadavg.c
endif

Include:
<stdlib.h>

Link:
$(GETLOADAVG_LIBS)

License:
GPL

Maintainer:
Jim Meyering
