The file is open with type=blocked and an attempt was made to get the number of bytes or wide characters left to read from the buffer using __freadahead(). Byte I/O is not allowed on files open type=blocked.
Remove type=blocked from the fopen() mode argument and use byte I/O functions to read the file if you desire the number of bytes or wide characters to be read.
JrEdcFioeEblkio02