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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,21c404e5fd4203dc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-05 12:43:34 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: ioctl Date: 05 Nov 2003 20:41:17 +0000 Organization: Pushface Sender: simon@smaug.pushface.org Message-ID: References: <3FA768A4.7080803@nowhere.com> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1068065013 14085 62.49.19.209 (5 Nov 2003 20:43:33 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Wed, 5 Nov 2003 20:43:33 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: archiver1.google.com comp.lang.ada:2106 Date: 2003-11-05T20:41:17+00:00 List-Id: Adrian Hoe writes: > Is function C_Ioctl in package Gnat.Sockets.Thin equivalent to C's ioctl? (a) it looks like the sort of ioctl you use to get a value (rather than set it). I think ioctl is better modelled as a pair of generics (in the type of the third parameter). You do need a little code in the body, of course .. (b) not sure you're supposed to be calling the .Thin package .. -- Simon Wright 100% Ada, no bugs.