mclearerr resets binary file access errors

## Syntax

    flag = mclearerr([fd])

## Arguments

fd

  a scalar: the `fd` parameter returned by the function `mopen`. -1 stands for last opened file. Default value is -1.

flag

  a boolean: `%T` if `fd` points to a valid file identifier and `%F` else.

## Description

The function `mclearerr` is used to reset the error indicator and EOF indicator to zero.

## See also

- merror
- mclose
- mopen
- mput
- mget
- mgetstr
- mputstr
- meof
- mseek
- mtell

## History

6.0.0 A flag indicating the file identifier validity is now returned.