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: a07f3367d7,d4101555aa2cd72c,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.224.18.199 with SMTP id x7mr4468643qaa.1.1361986592962; Wed, 27 Feb 2013 09:36:32 -0800 (PST) X-Received: by 10.182.193.3 with SMTP id hk3mr29026obc.15.1361986592807; Wed, 27 Feb 2013 09:36:32 -0800 (PST) Path: y6ni7qaj.0!nntp.google.com!dd2no3531292qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 27 Feb 2013 09:36:32 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=82.120.233.187; posting-account=2RsWdAoAAACKmfJMpyMjxrxuBA0nNyCZ NNTP-Posting-Host: 82.120.233.187 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <8975ebc3-3198-43e6-be68-f3e2ee84bc37@googlegroups.com> Subject: reading from a pipe From: milouz Injection-Date: Wed, 27 Feb 2013 17:36:32 +0000 Content-Type: text/plain; charset=ISO-8859-1 Date: 2013-02-27T09:36:32-08:00 List-Id: 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 ?