- added tests for tcgetattr / tcsetattr
 - made test_stdin async to work in the node environment
 - clearerr should reset both eof and error indicators
 - fgetc was incorrectly setting the eof indicator. in cases where fread had errored with EAGAIN it was setting eof. I removed the set entirely, as there is no need for fgetc to even worry about it, fread will set the correct value in any case