home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / atari / st / tech / 6877 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  1.8 KB

  1. Path: sparky!uunet!enterpoop.mit.edu!ira.uka.de!rz.uni-karlsruhe.de!fg70.rz.uni-karlsruhe.de!ig25
  2. From: ig25@fg70.rz.uni-karlsruhe.de (Thomas Koenig)
  3. Newsgroups: comp.sys.atari.st.tech
  4. Subject: Re: Whats POSIX, and how would it help MiNT/MTOS?
  5. Date: 27 Jan 93 08:56:11 GMT
  6. Organization: University of Karlsruhe, Germany
  7. Lines: 31
  8. Message-ID: <ig25.728124971@fg70>
  9. References: <C1HxKr.MJG@rahul.net>
  10. NNTP-Posting-Host: fg70.rz.uni-karlsruhe.de
  11.  
  12. wilsont@rahul.net (Timothy Wilson) writes:
  13.  
  14. >what does POSIX do for the average joe?
  15.  
  16. POSIX.1 provides an application interface for programs.  It provides
  17. highly portable C functions for writing programs across a multitude
  18. of platforms, including UNIX versions, but also VAX/VMS (which is about
  19. as non- UNIX - like as you can get), for example.
  20.  
  21. It is modeled on UNIX implementations, so most UNIX code can be
  22. ported to POSIX.1 with few changes.  Many of the things it defines are
  23. those that were traditionally considered "system dependent", such
  24. as reading a directory, getting the time, getting information about
  25. a file, signal handling, etc - the traditional area of the "system
  26. calls".
  27.  
  28. If you've written a POSIX.1 - compliant application, you've ported it to
  29. AT&T SVR4, HP-UX 8.0, AIX, VAX/VMS, Linux, ...  without needing to change a
  30. single byte in your source code, and without all these pesky #ifdefs.
  31.  
  32. Finally, the U.S. Federal Government requires that computers sold to it
  33. should be POSIX.1 - compliant, so vendors have a VERY strong incentive
  34. for implementing that API on their machines.
  35.  
  36. For those who want to get a feel of what POSIX.1 is like, I suggest
  37. browsing through the POSIX Programmer's Guide, one of the O'Reilly
  38. books.
  39. -- 
  40. Thomas Koenig, ig25@rz.uni-karlsruhe.de, ig25@dkauni2.bitnet
  41. The joy of engineering is to find a straight line on a double
  42. logarithmic diagram.
  43.