Thread overview
[D-runtime] Size of core.stdc.stdio._iob
Jun 22, 2012
Jonathan M Davis
June 21, 2012
According to http://msdn.microsoft.com/en-us/library/ff798083.aspx core.stdc.stdio._iob should have a size of 20, but we have it at 60. Is that because the Digital Mars C runtime differs, or is it incorrect?

- Jonathan M Davis
_______________________________________________
D-runtime mailing list
D-runtime@puremagic.com
http://lists.puremagic.com/mailman/listinfo/d-runtime

June 22, 2012
But it says that IOB_ENTRIES is 20, and _iob is an array of FILE with IOB_ENTRIES elements. So it completely depends on MSVC's layout of FILE, which almost definitely doesn't match DMC's.

Regards,
Alex

On Fri, Jun 22, 2012 at 8:48 AM, Jonathan M Davis <jmdavisProg@gmx.com> wrote:
> According to http://msdn.microsoft.com/en-us/library/ff798083.aspx core.stdc.stdio._iob should have a size of 20, but we have it at 60. Is that because the Digital Mars C runtime differs, or is it incorrect?
>
> - Jonathan M Davis
> _______________________________________________
> D-runtime mailing list
> D-runtime@puremagic.com
> http://lists.puremagic.com/mailman/listinfo/d-runtime
_______________________________________________
D-runtime mailing list
D-runtime@puremagic.com
http://lists.puremagic.com/mailman/listinfo/d-runtime

June 22, 2012
Huh, I misunderstood...you were getting at the actual IOB_ENTRIES value.

No idea, sorry. :( But my guess is that DMC just differs in some way.

Regards,
Alex

On Fri, Jun 22, 2012 at 9:18 AM, Alex Rønne Petersen <xtzgzorex@gmail.com> wrote:
> But it says that IOB_ENTRIES is 20, and _iob is an array of FILE with IOB_ENTRIES elements. So it completely depends on MSVC's layout of FILE, which almost definitely doesn't match DMC's.
>
> Regards,
> Alex
>
> On Fri, Jun 22, 2012 at 8:48 AM, Jonathan M Davis <jmdavisProg@gmx.com> wrote:
>> According to http://msdn.microsoft.com/en-us/library/ff798083.aspx core.stdc.stdio._iob should have a size of 20, but we have it at 60. Is that because the Digital Mars C runtime differs, or is it incorrect?
>>
>> - Jonathan M Davis
>> _______________________________________________
>> D-runtime mailing list
>> D-runtime@puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/d-runtime
_______________________________________________
D-runtime mailing list
D-runtime@puremagic.com
http://lists.puremagic.com/mailman/listinfo/d-runtime