Daniel Keep Wrote:

> > Big difference if you pass char[] variable .ptr to a C function.

> In general, if you pass a string to a C function you should send it
> through toStringz first.  If you don't, you're just begging for segfaults.

Agreed .. fair enough.

Actually I'm more interested in the semantics for default initialized char[].
Does it have exactly the same semantics as an empty string (in general D or 
runtime library, Phobos et. al. context)?


Reply via email to