Y
Hacker News
new
|
ask
|
show
|
jobs
by
varjag
2695 days ago
getchar() returns an int to accommodate 257 different values: all byte chars + EOF (typically -1).
The code snippet itself is run length encoding with 0xff as an escape.