void b_main_sink(char * data_array[]);void _main(){char * data;char * data_array[5];char data_buf[FILENAME_MAX]="";data=data_buf;{size_t data_len=strlen(data);FILE * pFile;if(FILENAME_MAX-data_len > 1){pFile=FOPEN("C:\\temp\\file.txt", "r");if (pFile!=NULL){fgets(data+data_len, (int)(FILENAME_MAX-data_len), pFile);fclose(pFile);}}}data_array[2]=data;b_main_sink(data_array);}void b_main_sink(char * data_array[]){char * data=data_array[2];{int fd;fd=OPEN(data, O_RDWR|O_CREAT, S_IREAD|S_IWRITE);if (fd!=-1){CLOSE(fd);}}}
void b_main_sink(char * data_array[]);static void main(){char * data;char * data_array[5];char data_buf[FILENAME_MAX]="";data=data_buf;strcpy(data, "c:\\temp\\file.txt");strcpy(data, "/tmp/file.txt");data_array[2]=data;b_main_sink(data_array);}void b_main_sink(char * data_array[]){char * data=data_array[2];{int fd;fd=OPEN(data, O_RDWR|O_CREAT, S_IREAD|S_IWRITE);if (fd!=-1){CLOSE(fd);}}}