From: wozzle!alane AT imageek DOT york DOT cuny DOT edu Subject: Re: Library problems To: djgpp AT sun DOT soe DOT clarkson DOT edu Date: Sat, 28 May 1994 09:05:48 -0400 (EDT) > 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)