On 2/27/2013 5:03 PM, Maxime Chevalier wrote: > Unless I'm mistaken, DMD does not respect the C calling convention on Linux/AMD64. To use the C calling convention, specify "extern (C)" for the function. BTW, if this did not work, very little of D would work, as there's a lot of reliance on the C standard library and the Linux API functions.