Y
Hacker News
new
|
ask
|
show
|
jobs
by
arghwhat
2705 days ago
You can read from /dev/null—it just behaves as a zero-length file, immediately returning EOF.
This makes /dev/null a valid source file in many languages, C included.