Home
last modified time | relevance | path

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

/picolibc-latest/test/semihost/
Dsemihost-seek.c43 #define TEST_SEEK_POS 2 macro
81 ret = sys_semihost_seek(fd, TEST_SEEK_POS); in main()
89 if (sizeof (buf) - not_read != TEST_STRING_LEN - TEST_SEEK_POS) { in main()
91 (long) (sizeof(buf) - TEST_STRING_LEN + TEST_SEEK_POS)); in main()
95 buf[TEST_STRING_LEN - TEST_SEEK_POS] = '\0'; in main()
96 if (memcmp(buf, &TEST_STRING[0] + TEST_SEEK_POS, TEST_STRING_LEN - TEST_SEEK_POS) != 0) { in main()
98 buf, &TEST_STRING[0] + TEST_SEEK_POS); in main()