+2010-01-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+ * sysdeps/mach/getsysstats.c (get_nprocs_conf, get_nprocs,
+ get_phys_pages, get_avphys_pages): Add weak aliases.
+
2010-01-25 Andreas Schwab <schwab@redhat.com>
* iconv/iconv_prog.c (write_output): Fix check for open failure.
return hbi.max_cpus;
}
+weak_alias (__get_nprocs_conf, get_nprocs_conf)
/* Return the number of processors currently available on the system. */
int
return hbi.avail_cpus;
}
+weak_alias (__get_nprocs, get_nprocs)
/* Return the number of physical pages on the system. */
long int
return hbi.memory_size / __vm_page_size;
}
+weak_alias (__get_phys_pages, get_phys_pages)
/* Return the number of available physical pages */
long int
return vs.free_count;
}
+weak_alias (__get_avphys_pages, get_avphys_pages)