diff options
author | Jim Meyering <jim@meyering.net> | 2003-02-27 20:21:21 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-02-27 20:21:21 +0000 |
commit | 9c97727fb2bf9d3403d60a77d5a8ed4cbf8a4f50 (patch) | |
tree | 8c5825568f5a628df3de76132cc49ce429cb8c12 | |
parent | 5446a82008589822ce96c43bafe94c2510194031 (diff) | |
download | coreutils-9c97727fb2bf9d3403d60a77d5a8ed4cbf8a4f50.tar.xz |
(physmem_total, physmem_available): Add comments.
-rw-r--r-- | lib/physmem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/physmem.c b/lib/physmem.c index 4bd0faa37..4770b0a13 100644 --- a/lib/physmem.c +++ b/lib/physmem.c @@ -83,7 +83,7 @@ double physmem_total () { #if defined _SC_PHYS_PAGES && defined _SC_PAGESIZE - { + { /* This works on linux-gnu, solaris2 and cygwin. */ double pages = sysconf (_SC_PHYS_PAGES); double pagesize = sysconf (_SC_PAGESIZE); if (0 <= pages && 0 <= pagesize) @@ -187,7 +187,7 @@ double physmem_available () { #if defined _SC_AVPHYS_PAGES && defined _SC_PAGESIZE - { + { /* This works on linux-gnu, solaris2 and cygwin. */ double pages = sysconf (_SC_AVPHYS_PAGES); double pagesize = sysconf (_SC_PAGESIZE); if (0 <= pages && 0 <= pagesize) |