Porting Go's io package to C | Hacker News Reader