From: Jack Moskowitz (PAD) <jackm at ardc> Strncpy may be used to manipulate characters within strings rather than the whole string. Eg. changing the string abcdef to abxxef. You would not want to null terminate after the xx in this case.