home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.16 / text0052.txt < prev    next >
Encoding:
Internet Message Format  |  1989-08-11  |  1.7 KB

  1. From: uunet!posix!hlj (Hal Jespersen)
  2.  
  3. In article <352@longway.TIC.COM> uunet!rti.rti.org!tijc02.uucp!pjs269 (Paul Schmidt ) writes:
  4. >Newsgroups: comp.std.unix
  5. >From: uunet!rti.rti.org!tijc02.uucp!pjs269 (Paul Schmidt        )
  6. >
  7. >Are the UNIX System Parameters part of any standard?
  8. >How do you develop an application that uses system
  9. >calls such as msgget, shmget, and semget, so that they
  10. >will run on all systems without violating the system-
  11. >imposed limits?
  12. >
  13. >    I know that for AT&T UNIX System V.2 on DEC processors
  14. >these limits are configurable.  On Apollos they are not.
  15. >What about SUN?  Are there any workstations that can be
  16. >configured?
  17.  
  18. There are really two answers here.  POSIX.1 has included all the "system
  19. parameters" you need [we hope!] to use its interfaces.  The functions
  20. you cite are not in POSIX.1, although similar to some in POSIX.4 (Real-
  21. time).
  22.  
  23. But, implementations based on System V that support POSIX will probably
  24. also support all the traditional System V calls as well.  One option is
  25. for those systems to extend the sysconf() function of POSIX.1 to query
  26. all the appropriate things.  For example, the M88000 Binary
  27. Compatibility Standard (BCS) published by 88open Consortium is a merge
  28. of POSIX.1 and SVR3.2.  It has extended sysconf() to provide all the
  29. values you need.  The Motorola/UniSoft 68K BCS does the same, and I
  30. would presume other similar efforts are underway elsewhere.  Maybe
  31. folks listening in could provide such plans.
  32.  
  33.  
  34.  
  35.                     Hal Jespersen
  36.                     POSIX Software Group
  37.                     447 Lakeview Way
  38.                     Redwood City, CA 94062
  39.                     Phone:    +1 (415) 364-3410
  40.                     FAX:    +1 (415) 364-4498
  41.                     UUCP:    uunet!posix!hlj
  42.  
  43. Volume-Number: Volume 16, Number 50
  44.  
  45.