<s> """<STR_LIT>""" <EOL> from ctypes import wintypes , WINFUNCTYPE <EOL> import signal <EOL> import ctypes <EOL> import mmap <EOL> import sys <EOL> HandlerRoutine = WINFUNCTYPE ( wintypes . BOOL , wintypes . DWORD ) <EOL> def _ctrl_handler ( sig ) : <EOL> """<STR_LIT>""" <EOL> if sig == signal . CTRL_C_EVENT : <EOL> pass <EOL> elif sig == signal . CTRL_BREAK_EVENT : <EOL> pass <EOL> else : <EOL> print ( "<STR_LIT>" ) <EOL> return <NUM_LIT:0> <EOL> ctrl_handler = HandlerRoutine ( _ctrl_handler ) <EOL> SetConsoleCtrlHandler = ctypes . windll . kernel32 . SetConsoleCtrlHandler <EOL> SetConsoleCtrlHandler . argtypes = ( HandlerRoutine , wintypes . BOOL ) <EOL> SetConsoleCtrlHandler . restype = wintypes . BOOL <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> if not SetConsoleCtrlHandler ( ctrl_handler , <NUM_LIT:1> ) : <EOL> print ( "<STR_LIT>" ) <EOL> exit ( - <NUM_LIT:1> ) <EOL> m = mmap . mmap ( - <NUM_LIT:1> , <NUM_LIT:1> , sys . argv [ <NUM_LIT:1> ] ) <EOL> m [ <NUM_LIT:0> ] = '<STR_LIT:1>' <EOL> while True : <EOL> pass </s>
