void b_main_sink(char * data);void _main(){char * data;void (*func_ptr) (char *)=b_main_sink;char data_buf[FILENAME_MAX]="";data=data_buf;{size_t data_len=strlen(data);if(FILENAME_MAX-data_len > 1){fgets(data+data_len, (int)(FILENAME_MAX-data_len), stdin);data_len=strlen(data);if (data_len > 0){data[data_len-1]='\0';}}}func_ptr(data);}void b_main_sink(char * data){{HANDLE hFile;hFile=CreateFileA(data, (GENERIC_WRITE|GENERIC_READ), 0, NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);if (hFile!=INVALID_HANDLE_VALUE){CloseHandle(hFile);}}}
void b_main_sink(char * data);static void main(){char * data;void (*func_ptr) (char *)=b_main_sink;char data_buf[FILENAME_MAX]="";data=data_buf;strcpy(data, "c:\\temp\\file.txt");strcpy(data, "/tmp/file.txt");func_ptr(data);}void b_main_sink(char * data){{HANDLE hFile;hFile=CreateFileA(data, (GENERIC_WRITE|GENERIC_READ), 0, NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);if (hFile!=INVALID_HANDLE_VALUE){CloseHandle(hFile);}}}