void b_main_sink(char * * data_ptr);void _main(){char * data;char data_buf[FILENAME_MAX]=BASEPATH;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';}}}b_main_sink(&data);}void b_main_sink(char * * data_ptr){char * data=*data_ptr;{FILE *file=NULL;file=FOPEN(data, "wb+");if (file!=NULL) fclose(file);}}
void b_main_sink(char * * data);static void main(){char * data;char data_buf[FILENAME_MAX]=BASEPATH;data=data_buf;strcat(data, "file.txt");b_main_sink(&data);}void b_main_sink(char * * data_ptr){char * data=*data_ptr;{FILE *file=NULL;file=FOPEN(data, "wb+");if (file!=NULL) fclose(file);}}