Or even specific Unixes like Linux or macOS, as there are no APIs for this. I don't know what to do. I am really disappointed and demoralized. I thought I'd be able to implement this FileIO library cross-platform when I first did the Windows implementation.
The only way is path-based, but that is racy, and the main purpose of this API is to be able to avoid any races. It seems that is only possible on Windows...
Or even specific Unixes like Linux or macOS, as there are no APIs for this. I don't know what to do. I am really disappointed and demoralized. I thought I'd be able to implement this FileIO library cross-platform when I first did the Windows implementation.
The only way is path-based, but that is racy, and the main purpose of this API is to be able to avoid any races. It seems that is only possible on Windows...