Re:Windows is the strangest, or hardest, operating system to...
by chasil on Wednesday November 30, 2022 @11:11AM
(#33802810)
It was, but the POSIX subsystem was removed.
In any case, I have never seen any way to coerce POSIX unlink() behavior on Windows.
'Broad software compatibility was initially achieved with support for several API "personalities", including Windows API, POSIX, and OS/2 APIs – the latter two were phased out starting with Windows XP.'
Yes, it does. Windows is POSIX/FIPS-151
https://www.quora.com/Is-Windows-POSIX-compliant