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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,88ed72d98e6b3457 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-06 15:24:23 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!npeer.de.kpn-eurorings.net!news2.telebyte.nl!news.newsland.it!newsfeed1.uni2.dk!news.get2net.dk.POSTED!53ab2750!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Standard Library Interest? References: <3F803278.1020507@noplace.com> <8Xggb.8105$QH3.6063@newsfep4-winn.server.ntli.net> <01kgb.8235$QH3.4055@newsfep4-winn.server.ntli.net> From: Mark Lorenzen Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:5GxJzeVcPvMqbuoJCIcfAMACyRY= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 07 Oct 2003 02:30:36 +0200 NNTP-Posting-Host: 62.84.221.216 X-Complaints-To: abuse@colt-telecom.dk X-Trace: news.get2net.dk 1065479059 62.84.221.216 (Tue, 07 Oct 2003 00:24:19 CEST) NNTP-Posting-Date: Tue, 07 Oct 2003 00:24:19 CEST Organization: Colt Telecom Kunde Xref: archiver1.google.com comp.lang.ada:337 Date: 2003-10-07T02:30:36+02:00 List-Id: chris writes: > sk wrote: >> chris : >> > IIRC there's an implementation *relating to* the OS >> > interfacing component somewhere, right? AdaDirectories >> > or something? >> More than just Ada.Directories, there are the POSIX >> bindings ! > > I know about them but don't use them... Out of interest, what does > posix give a programmer besides directory control that Ada doesn't > provide out of the box? > I wonder if I am reading your question correct... There is *a lot* more to POSIX than what is supported out-of-the-box in Ada! Think of all the typical "things" you associate with a Unix system: Processes, signals, sockets, message queues, shared memory, user accounts, terminals, file locking, memory locking, memory mapping, file permissions, event handling, process group leader, controlling terminal, job control, session control etc. The Ada standard does (of course) not define any means of handling these "things". > My understanding of posix is that it was defined to provide an api the > lowest common functionality common to the two big Unices of the day, > but other than that I haven't explored it in detail. I would not say the "lowest common functionality". It is a pretty large part of The Open Group's definition of Unix. If you want to do some serious development for the Unix platform, then POSIX is an absolute necessity. - Mark