On 06/26/2012 06:49 PM, Dejan Lekic wrote: > xbuf_ncat is a C function, you can't give it a D string just like that - > you must use std.string.toStringz() ... > Yes you can. String literals are zero terminated.