Home | History | Annotate | Download | only in tests

Lines Matching full:strncpy

381   it = "strncpy";
382 check (strncpy (one, "abc", 4) == one, 1); /* Returned value. */
386 (void) strncpy (one, "xyz", 2);
390 (void) strncpy (one, "xyz", 3); /* Copy cut just before NUL. */
394 (void) strncpy (one, "xyz", 4); /* Copy just includes NUL. */
399 (void) strncpy (one, "xyz", 5); /* Copy includes padding. */
405 (void) strncpy (one, "xyz", 0); /* Zero-length copy. */
408 (void) strncpy (one, "", 2); /* Zero-length source. */
414 (void) strncpy (two, one, 9);
1431 /* strncpy. */