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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,be5ce9f41ac56f51 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.204.132.81 with SMTP id a17mr5689bkt.4.1339024835778; Wed, 06 Jun 2012 16:20:35 -0700 (PDT) MIME-Version: 1.0 Path: e27ni21642bkw.0!nntp.google.com!news1.google.com!volia.net!news2.volia.net!feed-A.news.volia.net!news.musoftware.de!wum.musoftware.de!weretis.net!feeder4.news.weretis.net!nuzba.szn.dk!news.jacob-sparre.dk!munin.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Low_Level_IO, what is it? Date: Wed, 6 Jun 2012 18:20:29 -0500 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1339024833 7764 69.95.181.76 (6 Jun 2012 23:20:33 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Wed, 6 Jun 2012 23:20:33 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-RFC2646: Format=Flowed; Response Date: 2012-06-06T18:20:29-05:00 List-Id: "Yannick Duch�ne (Hibou57)" wrote in message news:op.wfc5jfaaule2fv@douda-yannick... >Le Sun, 03 Jun 2012 17:59:59 +0200, Dennis Lee Bieber > a �crit: > >> On Sun, 3 Jun 2012 08:04:05 -0700 (PDT), heresy-me@hotmail.com declaimed >> the following in comp.lang.ada: >> >>> Low_Level_IO, a Ada package name that I saw in some older Ada book.But >>> I cannot found it in Ada12 Reference. >>> What is Low_Level_IO? >> >> Most likely a description of an "idealized" interface to machine >> specific I/O operations, intended for use in an pure Ada run-time -- >> instead of the more common POSIX/C run-time bindings (as used by GNAT) >> on top of a full OS. >> >> Ah, yes... Ada 83 >> http://archive.adaic.com/docs/style-guide/83style/html/sty-07-07.html#7.7.4 > > >A further link gives its incomplete definition: > > package LOW_LEVEL_IO is > -- declarations of the possible types for DEVICE and DATA; > -- declarations of overloaded procedures for these types: > procedure SEND_CONTROL (DEVICE : device_type; DATA : in out > data_type); > procedure RECEIVE_CONTROL (DEVICE : device_type; DATA : in out > data_type); > end; > >Also, the casing is funny. Haw, nothing funny about this; that's the "standard" way of writing Ada 83 code. Large amounts of original Ada 83 code was written in this style. It was so ugly that the "standard" casing was changed in Ada 95. (Before that, most of us invented our own styles, so it was a real mess to integrate someone else's code.) As far a Low_Level_IO itself, the package was always optional in Ada 83, and there was hardly anyone who ever implemented it (we had packages of our own design for this purpose, they were much closer to the Intel instruction set). So it was removed from Ada 95. Randy.