1 #include "test_yaffs_open.h"
5 int test_yaffs_open(void){
7 handle=yaffs_open(FILE_PATH,O_CREAT | O_TRUNC| O_RDWR, FILE_MODE);
12 int test_yaffs_open_clean(void){
14 return yaffs_close(handle);
17 return 1; /* the file failed to open so there is no need to close it*/