Navigation

Operators and Keywords

Function List:

C++ API

: freport ()

Print a list of which files have been opened, and whether they are open for reading, writing, or both.

For example:

freport ()

    -|  number  mode  arch       name
    -|  ------  ----  ----       ----
    -|     0     r    ieee-le    stdin
    -|     1     w    ieee-le    stdout
    -|     2     w    ieee-le    stderr
    -|     3     r    ieee-le    myfile

See also: fopen, fclose, is_valid_file_id.

Package: octave