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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,5edee74b13d8e50a X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: The "black magic" of ioctl Date: Sun, 24 Oct 2010 12:08:28 +0100 Organization: A noiseless patient Spider Message-ID: References: <74b46743-fb81-48cc-a478-ffd069db2fc6@k22g2000yqh.googlegroups.com> <877hh8lkok.fsf@mid.deneb.enyo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="4113"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18U57jFHdiXCdGtdxs6xAIOkLUhBZpkHRg=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin) Cancel-Lock: sha1:eVYCzNi/zFH0JVvPGMLnRWFOkQM= sha1:xiwC1JMWZHqg3bMoKRsnWm7Eo5o= Xref: g2news1.google.com comp.lang.ada:14712 Date: 2010-10-24T12:08:28+01:00 List-Id: Florian Weimer writes: > In addition, the ioctl constants are often difficult to extract from > the header files. The best way to get them seems to be a small C > program which just prints them. It could print them as an Ada spec; no manual handling required!