strncpy

stanonik%nprdc at sri-unix.UUCP stanonik%nprdc at sri-unix.UUCP
Fri Feb 24 05:17:28 AEST 1984


From:  Ron Stanonik <stanonik at nprdc>

Why did "they" write strncpy(s1, s2, n) such that s1 is not null
terminated if the length of s2 is n or more?  Has anyone changed
this and lived to tell about it?

Thanks,

Ron Stanonik
stanonik at nprdc



More information about the Comp.unix mailing list