Comment
Comment by oecumena
Still won't work. The Standard explicitly specifies that FILE type includes all stream attributes, including position indicator:
Hence no stream can be longer than 2^(sizeof(FILE)*CHAR_BIT) (6.2.6.1 guarantees that objects of any type cannot have "hidden" bits of state not accounted by sizeof()).