Home
last modified time | relevance | path

Searched refs:EXTRA_BYTES (Results 1 – 1 of 1) sorted by relevance

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/strncpy/
D2-1.c32 #define EXTRA_BYTES 10 macro
57 char *sample_str_2 = malloc(i + EXTRA_BYTES); in main()
63 ret_str = strncpy(sample_str_2, sample_str_1, i + EXTRA_BYTES); in main()
64 sample_str_2[i + EXTRA_BYTES] = '\0'; in main()
78 for (j = strlen(sample_str_1); j < i + EXTRA_BYTES; j++) { in main()
84 if (c != EXTRA_BYTES) { in main()