[Info-vax] Whither VMS?

glen herrmannsfeldt gah at ugcs.caltech.edu
Thu Oct 1 17:39:59 EDT 2009


ChrisQ <meru at devnull.com> wrote:
(big snip)
 
< But we are a bit out of date here - The later C lib functions like 
< strncpy() did have a length parameter and stuff like this has been 
< around in the C lib for 15+ years.

Have you looked at strncpy()?

It pads the destianation with null characters out to the
specified length.  For large n that can be even slower than using
strcat() in a loop.

-- glen 



More information about the Info-vax mailing list