summaryrefslogtreecommitdiff
path: root/lib/getloadavg.c
AgeCommit message (Collapse)Author
1999-01-31Include locale.h.Jim Meyering
[!HAVE_SETLOCALE]: Define-away setlocale. (getloadavg): Ensure the sscanf of /proc/getloadavg data uses the `C' numeric locale. Restore afterwards.
1997-07-15correct cpp-indentationJim Meyering
1997-07-15Merge with FSF.Jim Meyering
1997-01-18Add comment re HAVE_PSTAT_GETDYNAMIC.Jim Meyering
1997-01-15Fix up indentation a little.Jim Meyering
1997-01-15Indent cpp-directives to reflect nesting.Jim Meyering
1996-12-07[__SVR4]: Define SVR4.Jim Meyering
Remove duplicate `|| defined(SVR4)' disjunct guarding the #define KERNEL_FILE "/unix" definiton.
1996-10-22[__linux__]: Don't bother with a.out/nlist/kernelJim Meyering
defines or includes -- Linux systems simply read /proc/loadavg.
1996-10-10[__sun]: Define sun. Reported by Kaveh Ghazi.Jim Meyering
1996-10-08[__hpux]: Define hpux. From Eric Backus.Jim Meyering
1996-09-19Replace with FSF version.Jim Meyering
1996-04-14Test cpp-defined __sun as well as sun, becauseJim Meyering
in strict ANSI mode, only __sun is defined. From Kaveh Ghazi.
1996-04-10.Jim Meyering