Are you sure? How about 7.19.2p2 and 7.19.2p3 ?
What about them?
For those who don't have a copy of the standard handy:
7.19.2p1:
Input and output, whether to or from physical devices such as
terminals and tape drives, or whether to or from files supported
on structured storage devices, are mapped into logical data
_streams_,
[...]
7.19.2p2:
Data read in from a text stream will necessarily compare equal to
the data that were earlier written out to that stream only if:
[...]
7.19.2p3:
Data read in from a binary stream shall compare equal to the data
that were earlier written out to that stream, under the same
implementation.
[...]
(Those who do have a copy of the standard can confirm that the parts I
left out aren't directly related to the point.)
I'll use the phrase "disk files" to refer to files supported on
structured storage devices. Assume that "/dev/null" is the name of a
device (not a disk file) that discards all input and produces no
output, and that the device can be accessed by passing the string
"/dev/null" to fopen().
Paragraphs 2 and 3 talk about the behavior of streams, not of files;
they make no distinction between devices and disk files. Since a
stream clearly can be associated either with a device or with a disk
file, paragraphs 2 and 3 seem to be asserting that, for example, data
written to /dev/null can be read back from /dev/null, regardless of
whether /dev/null is a "file" or not.