[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to get file info from file handle
From: |
Nicholas Jankowski |
Subject: |
Re: How to get file info from file handle |
Date: |
Tue, 20 Mar 2012 16:44:01 -0400 |
assuming you did a fopen("all") or something that means you don't have
the filename in the firstplace. If you do a fopen(fid) it will give
you back info about the file. Otherwise, there's some stuff in the
Octave user manual (octave.pdf) section on System Utilities /
Filesystem Utilities. In particular I see fileattrib and stat. stat
works of a 'file' or 'fid'. it only mentions a 'file' for fileattrib.
nickj
On Tue, Mar 20, 2012 at 3:34 PM, PhilipNienhuis <address@hidden> wrote:
> Is it possible to get some file info (e.g., file name) from a file handle
> returned by fopen?
>
> TIA
> Philip
>
> --
> View this message in context:
> http://octave.1599824.n4.nabble.com/How-to-get-file-info-from-file-handle-tp4490118p4490118.html
> Sent from the Octave - General mailing list archive at Nabble.com.
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave