From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,92640d662fc31a03 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-09 15:09:15 PST Path: newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!enst!enst.fr!not-for-mail From: "Beard, Frank" Newsgroups: comp.lang.ada Subject: RE: howto make system calls (newbie question) Date: Wed, 9 May 2001 18:07:44 -0400 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: avanie.enst.fr 989446149 96433 137.194.161.2 (9 May 2001 22:09:09 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Wed, 9 May 2001 22:09:09 +0000 (UTC) To: "'comp.lang.ada@ada.eu.org'" Return-Path: X-Mailer: Internet Mail Service (5.5.2448.0) Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: newsfeed.google.com comp.lang.ada:7410 Date: 2001-05-09T18:07:44-04:00 -----Original Message----- From: Samuel T. Harris [mailto:u61783@gsde.hou.us.ray.com] > Of course, there are other "standards" which are not part > of the Ada standard. For instance, the POSIX Ada binding > has been invaluable to me in writing portable code which > requires facilities from the operating system. Most of the ones I would like included are found in the POSIX Ada binding (file/record locking on files, move/rename files, directory lists, environment variable handling, process IDs, thread IDs). I would also like file access control. > Since this is standardized by IEEE, I feel any particular > need to include it as an Ada LRM annex. I think you are saying you "don't" feel any particular need to include it as an Ada LRM annex. If that is what you are saying, then I disagree. Even though I'm using the POSIX binding, it is still too C-ish. And when I ported our application to MS Windows, I had to write my own POSIX Ada binding for the API's that I needed (this was before Pascal Obry's binding came out). I took the POSIX Ada binding spec and wrote my own bodies for the ones I needed, and nulled the rest. If that functionality, or any functionality, is part of the standard, there is no need to go out and find bindings, or write your own. It would already be available, assuming it was supported. I don't know what the legalities are, but why not take the POSIX standard, use it as a model/guideline, and create a more "pure" Ada annex out of it. Frank