strncpy

Bill Poser poser at csli.Stanford.EDU
Fri Dec 22 21:39:00 AEST 1989


In article <621 at buster.irby.com> rli at buster.irby.com (Buster Irby) writes:
>
>CAUTION: There is a lot of existing software in the world that
>would break if the operation of strncpy or any other standard
>library function were suddenly changed.

I at least was not calling for a redefinition of strncpy in my
posting, only asking whether there was a good reason for it to behave
as it does. My own null-terminating version is called tstrncpy, and
I would guess that other people's have distinct names too. 



More information about the Comp.lang.c mailing list