Paul Eggert
2d0c5eefd0
Sync from gnulib.
2005-09-22 06:05:39 +00:00
Jim Meyering
410f98fc2b
Assume HAVE_UNISTD_H, i.e., include <unistd.h> unconditionally.
2005-07-02 08:41:46 +00:00
Jim Meyering
116e6fb244
Update FSF postal mail address.
2005-05-14 07:58:06 +00:00
Jim Meyering
8afa24fc2f
(physmem_total, physmem_available, main): Define with prototypes.
2003-09-10 09:07:03 +00:00
Jim Meyering
60886b408a
Include "physmem.h" before system includes.
2003-08-15 06:43:16 +00:00
Jim Meyering
09fb1e2d6e
(ARRAY_SIZE): Define it.
2003-03-05 11:06:18 +00:00
Jim Meyering
9c97727fb2
(physmem_total, physmem_available): Add comments.
2003-02-27 20:21:21 +00:00
Jim Meyering
92fa74148d
Merge in portability changes from gcc/libiberty
...
to support AIX, Tru64, and Windows. See the ChangeLog there
for credits and details.
2003-02-27 17:52:37 +00:00
Jim Meyering
22e376e2e1
Undo most of last change.
...
Use sysmp instead, since it provides a cleaner interface.
2003-02-17 16:58:28 +00:00
Jim Meyering
2b62137426
(main) [DEBUG]: New function.
2003-02-15 09:59:27 +00:00
Jim Meyering
c1604ca5a7
Clean up change of a minute ago.
2003-02-15 09:11:49 +00:00
Jim Meyering
bdf738b1a1
Add Irix6 support to physmem.c.
...
(irix_sysget): New function.
(IRIX_SYSGET_TOTAL, IRIX_SYSGET_AVAILABLE): New macros.
(physmem_total, physmem_available): Use them.
2003-02-15 09:05:16 +00:00
Jim Meyering
e7d469d663
[HAVE_SYS_PSTAT_H]: Include <sys/pstat.h>.
...
(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.
2001-11-16 09:20:25 +00:00
Jim Meyering
bca787f7c4
*** empty log message ***
2000-12-19 08:22:18 +00:00