void b_main_sink(void * void_data_ptr);void _main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;{size_t data_len=wcslen(data);if(100-data_len > 1){fgetws(data+data_len, (int)(100-data_len), stdin);data_len=wcslen(data);if (data_len > 0){data[data_len-1]=L'\0';}}}b_main_sink(&data);}void b_main_sink(void * void_data_ptr){wchar_t * * data_ptr=(wchar_t * *)void_data_ptr;wchar_t * data=(*data_ptr);if (wcsstr(PASSWORD, data)!=NULL) printLine("Access granted");else printLine("Access denied!");}
static void main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;data=PASSWORD;b_main_sink(&data);}void b_main_sink(void * void_data_ptr){wchar_t * * data_ptr=(wchar_t * *)void_data_ptr;wchar_t * data=(*data_ptr);if (wcsstr(PASSWORD, data)!=NULL) printLine("Access granted");else printLine("Access denied!");}