If I don’t blog about this, I will forget this. I know I’ve probably researched this before.
Larry Osterman posts about the origin of the file IO flags under Win32. He goes all the way back to DOS.
Why is this important? I was thinking about Unix file system semantics the other day. I really like that a file can be renamed or removed while it is still held open by a process. The FILESHAREDELETE flag gives us this in a Windows NT kernel.
Ok, why is this important? If you read the MSDN docs on this, you miss this. If you read Larry’s blog post, it all becomes obvious.