Home
last modified time | relevance | path

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

/kernel/liteos_m/testsuites/unittest/posix/src/stdlib/
Dstrtol_test.c115 char nPtr10[] = "10"; variable
117 long ret = strtol(nPtr10, &endPtr10, 10);
119 …EMO] posix stdlib test case 3:strtol(base=10) ret:%ld,%s, endPtr:%s ok.\n", ret, nPtr10, endPtr10);
121 LOG("[DEMO] posix stdlib test case 3:strtol(base=10) ret:%ld,%s fail.\n", ret, nPtr10);
135 char nPtr10[] = "-10"; variable
137 long ret = strtol(nPtr10, &endPtr10, 10);
139 …EMO] posix stdlib test case 4:strtol(base=10) ret:%ld,%s, endPtr:%s ok.\n", ret, nPtr10, endPtr10);
141 LOG("[DEMO] posix stdlib test case 4:strtol(base=10) ret:%ld,%s fail.\n", ret, nPtr10);