comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: ioctl
Date: 05 Nov 2003 20:41:17 +0000
Date: 2003-11-05T20:41:17+00:00	[thread overview]
Message-ID: <x7vznfawnte.fsf@smaug.pushface.org> (raw)
In-Reply-To: 3FA768A4.7080803@nowhere.com

Adrian Hoe <adrianhoe@nowhere.com> 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.



  parent reply	other threads:[~2003-11-05 20:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-04  8:51 ioctl Adrian Hoe
2003-11-05  3:01 ` ioctl Steve
2003-11-05 20:41 ` Simon Wright [this message]
2003-11-11  2:37   ` ioctl Adrian Hoe
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox