idiom for C error strings

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jul 21 06:33:24 PDT 2015


On Tuesday, 21 July 2015 at 12:40:37 UTC, Daniel Kozák wrote:
> static:
>
> char[size] buf;

somefun(param1, buf.ptr, buf.length);

still works there too. That's the form I prefer to use.


More information about the Digitalmars-d-learn mailing list