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,5edee74b13d8e50a,start 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!c20g2000yqj.googlegroups.com!not-for-mail From: Francesco Piraneo Giuliano Newsgroups: comp.lang.ada Subject: The "black magic" of ioctl Date: Thu, 21 Oct 2010 02:13:23 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 81.253.36.148 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1287652403 19835 127.0.0.1 (21 Oct 2010 09:13:23 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 21 Oct 2010 09:13:23 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: c20g2000yqj.googlegroups.com; posting-host=81.253.36.148; posting-account=XgjFswoAAADI5HJyvE919iH7TWpN0YaP User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:15616 Date: 2010-10-21T02:13:23-07:00 List-Id: Hi gentleman, I've a nice question for you! :-) In linux we have the ioctl function that allows to control or get informations about an open device. Questions: - I have not clear if the ioctl is a function of POSIX compliant os'es so it can be handled by ADA libflorist or is a linux-specific function that we have to import in ADA with a PRAGMA IMPORT; - In the case that ioctl is a standard POSIX function, I'm very glad if someone can address me to the right function in libflorist... I've not found anything similar. Thank you very much for your answers. Francesco PS'es: - I know it's an idiot question, for that reason I think that nobody has difficulties to answer me! :-D - Thank you very much to the guy that called "florist" a library for interfacing ADA with POSIX compliant os'es!! So when I google about it I get lot of flower's sellers called "Ada"... all around the world! - Thank also to the guy that thought to call Ada language ... "Ada"! May be better something like "Lovelace" or "Byron"? Just to avoid the tons of porn related material about the various "Ada" showgirls.... :- ( (Thank you google to index also the porns...) - I can understand also the guys that reading my post will thought: "Hey, man!! You MUST know everything about POSIX and ADA and C and LINUX and IEEE standard and ISO standards and...{put what you want}" - Yeah guy! You have reason, but not everyone has so strong knowledge of all this materials... is for that reason a nice and FOCUSED documentation about libflorist would be interesting... saying "You must already know" is not a nice reason to avoid to write documentations! I work in automatic machines and the documentation is compared as a SAFETY FEATURE of the machine itself... just to tell you how a well written document is very important to avoid troubles... (very often with LEGAL - i.e. -> JAIL - implications... ;-)))