aboutsummaryrefslogtreecommitdiffstats
path: root/lib/physmem.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2006-08-21Remove from CVS, since the bootstrap script generates them automatically.Paul Eggert1-305/+0
2005-09-22Sync from gnulib.Paul Eggert1-2/+2
2005-07-02Assume HAVE_UNISTD_H, i.e., include <unistd.h> unconditionally.Jim Meyering1-3/+1
2005-05-14Update FSF postal mail address.Jim Meyering1-1/+1
2003-09-10(physmem_total, physmem_available, main): Define with prototypes.Jim Meyering1-3/+3
2003-08-15Include "physmem.h" before system includes.Jim Meyering1-3/+3
2003-03-05(ARRAY_SIZE): Define it.Jim Meyering1-0/+2
2003-02-27(physmem_total, physmem_available): Add comments.Jim Meyering1-2/+2
2003-02-27Merge in portability changes from gcc/libibertyJim Meyering1-10/+170
to support AIX, Tru64, and Windows. See the ChangeLog there for credits and details.
2003-02-17Undo most of last change.Jim Meyering1-41/+27
Use sysmp instead, since it provides a cleaner interface.
2003-02-15(main) [DEBUG]: New function.Jim Meyering1-0/+21
2003-02-15Clean up change of a minute ago.Jim Meyering1-6/+10
2003-02-15Add Irix6 support to physmem.c.Jim Meyering1-2/+42
(irix_sysget): New function. (IRIX_SYSGET_TOTAL, IRIX_SYSGET_AVAILABLE): New macros. (physmem_total, physmem_available): Use them.
2001-11-16[HAVE_SYS_PSTAT_H]: Include <sys/pstat.h>.Jim Meyering1-9/+45
(physmem_total) [HAVE_PSTAT_GETSTATIC]: If sysconf couldn't be used to determine the amount of total physical memory, use pstat_getstatic. HPUX-11 doesn't define _SC_PHYS_PAGES. (physmem_available) [HAVE_PSTAT_GETSTATIC && HAVE_PSTAT_GETDYNAMIC]: If sysconf couldn't be used to determine the amount of available physical memory, use both pstat_getstatic and pstat_getdynamic. Based on a patch from Bob Proulx.
2000-12-19*** empty log message ***Jim Meyering1-0/+58