0ad/source/lib/sysdep/os
Ralph Sennhauser 149baf116b
Replace all use of POSIX truncate
Use `<filesystem>` instead of `truncate` and remove `truncate`
portability wrapper.

Add a helper function `StatusFromSystemError` to convert error_code to
`Status`.

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2026-06-15 15:33:59 +02:00
..
bsd Implement BSD specific sys_ExecutablePathname 2026-06-08 20:59:45 +02:00
linux Remove Linux sys_ExecutablePathname fallback 2026-06-08 20:59:45 +02:00
osx Remove UNUSED 2025-06-26 17:25:05 +02:00
unix Replace all use of POSIX truncate 2026-06-15 15:33:59 +02:00
win Replace all use of POSIX truncate 2026-06-15 15:33:59 +02:00