>> With `sizeof(string) - 1` strncpy() will null terminate the string. > > No, it won't.
> See the line after the strncpy. This is still required for proper > zero-termination. You're right, sorry for the noise. Roel _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev