uncaught exceptions: stack trace truncated at NUL char

rikki cattermole rikki at cattermole.co.nz
Sun Dec 13 20:58:42 UTC 2020


On 14/12/2020 9:56 AM, kdevel wrote:
> On Sunday, 13 December 2020 at 20:25:06 UTC, KapyoniK wrote:
>> Is it really a bug ? \0 truncates the string, as mentionned on this 
>> page :
>> https://en.wikipedia.org/wiki/Null-terminated_string
> 
> I thought the D runtime is written in D (with D strings)?!?

String literals are null terminated by the compiler. It is very useful 
for communicating with C.


More information about the Digitalmars-d-learn mailing list