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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6353697ffeb79d16 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!g19g2000yqg.googlegroups.com!not-for-mail From: Bryan Newsgroups: comp.lang.ada Subject: Re: Encapsulating Ada.Direct_IO Date: Fri, 26 Nov 2010 07:31:47 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <5ba4147a-6099-4a05-b548-09544f58247a@j18g2000yqd.googlegroups.com> <82e9201f-9186-4450-bbf8-9433f6a19d71@v12g2000vbh.googlegroups.com> NNTP-Posting-Host: 204.130.247.244 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1290785507 23665 127.0.0.1 (26 Nov 2010 15:31:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 26 Nov 2010 15:31:47 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: g19g2000yqg.googlegroups.com; posting-host=204.130.247.244; posting-account=kI3R0woAAAAkETUXcbnWjzzG0TUmJmXv User-Agent: G2/1.0 X-HTTP-Via: 1.1 webf01.atdesk.com:8080 (http_scan/4.0.2.6.19) X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4) Gecko/20091016 SUSE/3.5.4-1.1.2 Firefox/3.5.4,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:16638 Date: 2010-11-26T07:31:47-08:00 List-Id: Wow, this topic sparked a lot of interesting conversation! I thought I would report that I do have the code working now thanks to the advice in this thread. Adam, Thank you for catching that my mistake, the casting did the trick. Peter, Thanks for the tips. I will look into Sequential_IO, I somehow missed it and thought that is what Direct_IO was for. I need to go back and review the different Ada file processing packges.