Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

According to C11, Section 7.21.3, para. 6 [ISO/IEC 9899:2011],

The address of the FILE object used to control a stream may be significant; a copy of a FILE object need not serve in place of the original.

...

CERT C++ Secure Coding Standard: FIO38-CPP. Do not use a copy of a FILE object for input and output

ISO/IEC 9899:2011 Section  Section 7.21.3, "Files"

ISO/IEC TR 17961 (Draft) Copying a FILE object [filecpy]

...