diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2002-10-28 21:29:21 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2002-10-28 21:29:21 +0000 |
commit | b7df7e6da8876ee40e61d457e2e37523e380aad7 (patch) | |
tree | ec4c17307d441153d623e1b5bd4f0e0420afe37e /libc/stdio/ctermid.c | |
parent | 6072ec712b72521d7a13a22b6d9ccf6127c8c005 (diff) |
ANSI/ISO C99 requires assert() to write to stderr. This means that
writing to STDERR_FILENO is insufficient, as the user could freopen
stderr. It is also insufficient to output to fileno(stderr) since
this would fail in the custom stream case. I didn't remove the
old code though, as it doesn't use stdio stream functionality
and is useful in debugging the stdio code.
Diffstat (limited to 'libc/stdio/ctermid.c')
0 files changed, 0 insertions, 0 deletions