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-Thread: 103376,d4101555aa2cd72c X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.66.90.67 with SMTP id bu3mr1098232pab.45.1362020394862; Wed, 27 Feb 2013 18:59:54 -0800 (PST) X-Received: by 10.50.149.132 with SMTP id ua4mr860380igb.8.1362020394737; Wed, 27 Feb 2013 18:59:54 -0800 (PST) Path: ov8ni22355pbb.1!nntp.google.com!jn4no14684713pbb.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 27 Feb 2013 18:59:54 -0800 (PST) In-Reply-To: <8975ebc3-3198-43e6-be68-f3e2ee84bc37@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=220.104.108.99; posting-account=Mi71UQoAAACnFhXo1NVxPlurinchtkIj NNTP-Posting-Host: 220.104.108.99 References: <8975ebc3-3198-43e6-be68-f3e2ee84bc37@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: reading from a pipe From: ytomino Injection-Date: Thu, 28 Feb 2013 02:59:54 +0000 Content-Type: text/plain; charset=ISO-8859-1 Date: 2013-02-27T18:59:54-08:00 List-Id: On Thursday, February 28, 2013 2:36:32 AM UTC+9, milouz wrote: > Hi, > > > > I'd like to know how to read some bytes from a pipe or some other non-regular file such as device. I had a look at streams_io, direct_io, etc. but was not able to code something working. > > > > How do we do that in Ada ? Use Florist. See http://en.wikibooks.org/wiki/Ada_Programming/Platform/POSIX