Re: Implementing stat() with FindFirstFile()
- From
Nazri Ramliy <ayiehere@gmail.com>
- Date
- Apr 1, 2009, 09:28 UTC
- Message-ID
- <544dda350904010228q93c7425m7ba12e2286617b3d@mail.gmail.com>
- In-Reply-To
- <20090321154738.GA27249@jeeves.jpl.local>
On Sat, Mar 21, 2009 at 11:47 PM, Magnus Bäck <baeck@swipnet.se> wrote:
> Is there any reason why compat/win32.h uses GetFileAttributesEx() > instead of FindFirstFile() to implement the stat() call on Windows?
This blog post explains checking file existence using GetFileAttributes(Ex) vs. FindFirstFile quite nicely:
http://blogs.msdn.com/oldnewthing/archive/2007/10/23/5612082.aspx
nazri.