News for hackers. Stuff that matters.
Re:For the Love of Pipes by arghwhat on Tuesday January 22, 2019 @07:13AM (#18967704)
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.

There are no comments on this comment yet.