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