home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.22 / text0050.txt < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.2 KB  |  27 lines

  1. Submitted-by: henry@zoo.toronto.edu (Henry Spencer)
  2.  
  3. In article <16397@cs.utexas.edu> jgd@csd4.csd.uwm.edu writes:
  4. >Our CONVEX system, which claims POSIX compliance, has a system call
  5. >that returns "system configuration" information...
  6.  
  7. It is important to understand that "POSIX compliant" invariably means
  8. "POSIX superset", since many significant functions are not part of the
  9. current POSIX standard, 1003.1.  There is no POSIX `getsysinfo' call.
  10. The closest you get is `sysconf()', which can be used to ask about a
  11. few things like the maximum number of open files.  None of the things
  12. you mention are in the list.
  13.  
  14. >    c) How does one interrogate the system, in a 'standard' way,
  15. >       to determine physical memory size?   (My initial guess is
  16. >       that the answer will be "You don't.")
  17.  
  18. Correct.  In any case, it is typically not a very useful piece of
  19. information, since there is no simple correlation between the size of
  20. physical memory and how much your program is allowed to use.
  21. -- 
  22. "The average pointer, statistically,    |Henry Spencer at U of Toronto Zoology
  23. points somewhere in X." -Hugh Redelmeier| henry@zoo.toronto.edu   utzoo!henry
  24.  
  25. Volume-Number: Volume 22, Number 52
  26.  
  27.