Date: Mon, 19 Apr 1999 17:23:18 -0400 Message-Id: <199904192123.RAA15086@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <371B9DE5.9A7A4351@pallen.dabsol.co.uk> (message from Peter Allen on Mon, 19 Apr 1999 22:19:33 +0100) Subject: Re: What does lstat do? References: <371B9DE5 DOT 9A7A4351 AT pallen DOT dabsol DOT co DOT uk> Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk If you want to emulate lstat, do this: #define lstat stat However, djgpp does *not* support symbolic links per se, and programs that fail because lstat is missing will probably have other portability issues as well. You're better off reviewing the program to find out *why* it needs lstat, to see if you can get away with the #define above.