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.
According to C99, Section 7.19.3 p6:
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.
Consequently, do not use a copy of a FILE
object in any input/output operations.
...