add libev "stdio" sample code