Mail Archives: djgpp/1994/05/28/13:24:18
> Maybe I'm missing something here. Truename takes as argument a
> filename, with no path attached, right? But fstat() doesn't have a
> filename. All it has is a handle, which is an integer. Somewhere in
> the bowels of DOS, that number corresponds to an open file, whose name
> (including path) we need if we want to call stat().
I was just looking to solve the immediate problem. I didn't read the
post fully :( I think the only way to get back to a name from the fd
is if the runtime keeps track; AFAIK, DOS doesn't know.
--
J. Alan Eldridge (alane AT wozzle DOT linet DOT org)
- Raw text -