1 #include "test_yaffs_lseek.h"
4 int test_yaffs_lseek(void){
5 handle=test_yaffs_open_file();
9 if (0==yaffs_lseek(handle, 0, SEEK_SET)){
13 printf("lseek returned a different position to the expeced position\n");
17 printf("error opening file\n");
23 int test_yaffs_lseek_clean(void){
24 return yaffs_close(handle);