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,edbbc0e4a6cfc1c1,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!z28g2000yqh.googlegroups.com!not-for-mail From: Francesco PIRANEO GIULIANO Newsgroups: comp.lang.ada Subject: Ada and linux: pragma import how to Date: Fri, 1 Oct 2010 13:34:15 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 81.253.35.111 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1285965255 21638 127.0.0.1 (1 Oct 2010 20:34:15 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 1 Oct 2010 20:34:15 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: z28g2000yqh.googlegroups.com; posting-host=81.253.35.111; posting-account=xw7-jwoAAACQO3jUfKtbSvv-viNG0IGt User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.2.10) Gecko/20100915 Ubuntu/10.04 (lucid) Firefox/3.6.10,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:14345 Date: 2010-10-01T13:34:15-07:00 List-Id: Gentleman, for an application that want to drive the linux framebuffer I'm trying to import the open and ioctl C functions to be used with Ada. I'm quite new in that language so I need some detailed information on how to pass and retrieve arguments / results from imported functions / procedures and well understand differences between import function and import _valued_ function. Can you provide me some documentation source about these two topics? Does anyone can provide me books reference about using Ada with Linux? I've found the "Big book of linux ada programming" and obviously the Ada reference manual but I need something with a more practical approach to understand... Thank you very much! Francesco