comp.lang.ada
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: The "black magic" of ioctl
Date: Mon, 25 Oct 2010 20:56:03 +0200
Date: 2010-10-25T20:56:03+02:00	[thread overview]
Message-ID: <8739ruumnw.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: ia2ll5$3a5$1@news.albasani.net

* Frank J. Lhota:

> On 10/24/2010 1:56 PM, Florian Weimer wrote:
>
>> Perhaps it seems to work for you, but this is not portable.  There are
>> popular targets where the varargs calling convention is markedly
>> different from the non-varargs calling convention, such as amd64.
>> It might still work by accident, but all bets are off, really.
>
> The Microsoft documentation seems to say that varargs is _not_
> markedly different; see
>
>     http://msdn.microsoft.com/en-us/library/dd2wa36c%28v=VS.80%29.aspx

There are additional requirements for passing floating-point
arguments.  It's different from Linux that this will only bite you
when you actually pass floating-point arguments which are used in the
callee in a certain way (which should happen with ioctl).



  reply	other threads:[~2010-10-25 18:56 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-21  9:13 The "black magic" of ioctl Francesco Piraneo Giuliano
2010-10-21 10:20 ` Ludovic Brenta
2010-10-21 11:31   ` Francesco Piraneo Giuliano
2010-10-21 11:50     ` Mark Lorenzen
2010-10-21 12:04     ` Ludovic Brenta
2010-10-22 16:46       ` Francesco Piraneo Giuliano
2010-10-22 16:47       ` Francesco Piraneo Giuliano
2010-10-21 12:05     ` Simon Wright
2010-10-22 20:16     ` michael bode
2010-10-23 12:13       ` Simon Wright
2010-10-23 13:27         ` michael bode
2010-10-23 16:25           ` Simon Wright
2010-10-23 18:12             ` michael bode
2010-10-23 20:26     ` Florian Weimer
2010-10-24 11:08       ` Simon Wright
2010-10-24 17:58         ` Florian Weimer
2010-10-24 12:41       ` Frank J. Lhota
2010-10-24 17:56         ` Florian Weimer
2010-10-24 18:36           ` Simon Wright
2010-10-25  0:45             ` Frank J. Lhota
2010-10-25  1:13           ` Frank J. Lhota
2010-10-25 18:56             ` Florian Weimer [this message]
2010-10-21 11:46   ` Colin Paul Gloster
2010-10-25  7:08   ` Yannick Duchêne (Hibou57)
2010-10-21 13:40 ` Julian Leyh
2010-10-21 13:58   ` Simon Wright
2010-10-21 20:45 ` Randy Brukardt
2010-10-22 16:40   ` Francesco Piraneo Giuliano
replies disabled

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