annotate modules/getloadavg @ 17431:744044c581c4

getcwd-lgpl: port to Tru64 * lib/getcwd-lgpl.c: Include <stdlib.h>, for malloc etc. Problem reported by Steven M. Schweda in <http://lists.gnu.org/archive/html/bug-gzip/2013-06/msg00010.html>.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 11 Jun 2013 19:52:46 -0700
parents 952734b45495
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
4172
5321105558d8 Add module descriptions.
Bruno Haible <bruno@clisp.org>
parents: 4110
diff changeset
2 Return the current system load averages.
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 Files:
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 lib/getloadavg.c
7243
519053e57f74 * modules/getloadavg (Files): Add m4/getloadavg.m4.
Paul Eggert <eggert@cs.ucla.edu>
parents: 6657
diff changeset
6 m4/getloadavg.m4
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 Depends-on:
12577
64b96a2d148c maint: remove useless inclusions of "alloca.h"
Jim Meyering <meyering@redhat.com>
parents: 10665
diff changeset
9 extensions
6657
25df81cf2f51 * modules/intprops: New file.
Paul Eggert <eggert@cs.ucla.edu>
parents: 6275
diff changeset
10 intprops
5820
aec0a1f23054 (Depends-on): Add stdbool.
Paul Eggert <eggert@cs.ucla.edu>
parents: 5813
diff changeset
11 stdbool
12577
64b96a2d148c maint: remove useless inclusions of "alloca.h"
Jim Meyering <meyering@redhat.com>
parents: 10665
diff changeset
12 stdlib
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 configure.ac:
14835
7740f92f7ee8 getloadavg: Remove an unreliable safety check.
Bruno Haible <bruno@clisp.org>
parents: 14363
diff changeset
15 gl_GETLOADAVG
14965
952734b45495 getloadavg: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14835
diff changeset
16 if test $HAVE_GETLOADAVG = 0; then
952734b45495 getloadavg: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14835
diff changeset
17 AC_LIBOBJ([getloadavg])
952734b45495 getloadavg: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14835
diff changeset
18 gl_PREREQ_GETLOADAVG
952734b45495 getloadavg: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14835
diff changeset
19 fi
10665
5394a3a10398 Add a getloadavg() declaration to <stdlib.h>.
Bruno Haible <bruno@clisp.org>
parents: 7497
diff changeset
20 gl_STDLIB_MODULE_INDICATOR([getloadavg])
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 Makefile.am:
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 Include:
10665
5394a3a10398 Add a getloadavg() declaration to <stdlib.h>.
Bruno Haible <bruno@clisp.org>
parents: 7497
diff changeset
25 <stdlib.h>
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26
14363
d937d219a168 getloadavg: Fix link error on Solaris 2.6.
Bruno Haible <bruno@clisp.org>
parents: 14313
diff changeset
27 Link:
d937d219a168 getloadavg: Fix link error on Solaris 2.6.
Bruno Haible <bruno@clisp.org>
parents: 14313
diff changeset
28 $(GETLOADAVG_LIBS)
d937d219a168 getloadavg: Fix link error on Solaris 2.6.
Bruno Haible <bruno@clisp.org>
parents: 14313
diff changeset
29
5251
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 4979
diff changeset
30 License:
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 4979
diff changeset
31 GPL
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 4979
diff changeset
32
4197
3ccc6d0d52bb Add a Maintainer.
Bruno Haible <bruno@clisp.org>
parents: 4172
diff changeset
33 Maintainer:
3ccc6d0d52bb Add a Maintainer.
Bruno Haible <bruno@clisp.org>
parents: 4172
diff changeset
34 Jim Meyering