core.sys/core.stdc vs. std.c?

Jonathan M Davis jmdavisProg at gmx.com
Sat Jun 11 23:43:51 PDT 2011


On 2011-06-11 23:38, David Nadlinger wrote:
> core.stdc is the place for C standard library modules, core.sys.* are
> where the C operating system header translations reside – this is our
> current policy, right? If so (I can't actually remember any formal
> decision or discussion), is there a reason we still have so much code in
> std.c?

IIRC, all of the standard C bindings are supposed to be in core. std.c is 
where they used to be, and I believe that the majority of std.c merely 
publically imports the corresponding modules in core. The modules in std.c 
should probably be put on the path to deprecation now. I believe that they 
have only been left around for backwards compatability.

- Jonathan M Davis


More information about the Digitalmars-d mailing list