At the following regarding strncpy: http://www.cplusplus.com/reference/clibrary/cstring/strncpy/, it mentions the following:
strncpy
No null-char
That means that it copies the terminating null of the source string, but doesnt add a terminating null if the source string doesnt fit into the destination.