void _main(){wchar_t * data;wchar_t data_buf[FILENAME_MAX]=L"";data=data_buf;{size_t data_len=wcslen(data);FILE * pFile;if(FILENAME_MAX-data_len > 1){pFile=FOPEN(L"C:\\temp\\file.txt", L"r");if (pFile!=NULL){fgetws(data+data_len, (int)(FILENAME_MAX-data_len), pFile);fclose(pFile);}}}{wchar_t * data_copy=data;wchar_t * data=data_copy;{int fd;fd=OPEN(data, O_RDWR|O_CREAT, S_IREAD|S_IWRITE);if (fd!=-1){CLOSE(fd);}}}}
static void main(){wchar_t * data;wchar_t data_buf[FILENAME_MAX]=L"";data=data_buf;wcscpy(data, L"c:\\temp\\file.txt");wcscpy(data, L"/tmp/file.txt");{wchar_t * data_copy=data;wchar_t * data=data_copy;{int fd;fd=OPEN(data, O_RDWR|O_CREAT, S_IREAD|S_IWRITE);if (fd!=-1){CLOSE(fd);}}}}