Finding physical memory size

Bob Lenk rml at hpfcdc.fc.hp.com
Tue Jan 8 09:23:23 AEST 1991


Submitted-by: rml at hpfcdc.fc.hp.com (Bob Lenk)

In article <16480 at cs.utexas.edu>, jgd at csd4.csd.uwm.edu (John G Dobnick) writes:

>    Was consideration given to including some mechanism to retrieve
>    hardware configuration information via 'standard' means?

Not much.  Remember that the purpose of POSIX.1 was to define interfaces
for portable applications.  There is little if any use that a portable
application can make of such information.

Through the trial use standard (1986) there was an appendix (Appendix H)
requiring each system to supply some such information off-line.  That
appendix was dropped in the first draft following trial use; the
portions deemed useful were made available via interfaces like
sysconf(), pathconf(), <limits.h>, and <unistd.h>.

		Bob Lenk
		rml at fc.hp.com
		{uunet,hplabs}!fc.hp.com!rml

Volume-Number: Volume 22, Number 65



More information about the Comp.std.unix mailing list