void b_main_sink(wchar_t * data);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(wchar_t * data){if (wcsncmp(PASSWORD, data, wcslen(data))==0) 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(wchar_t * data){if (wcsncmp(PASSWORD, data, wcslen(data))==0) printLine("Access granted");else printLine("Access denied!");}