You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Refactor file size retrieval and enhance POSIX socket error handling
- Updated `file_size` function to use a template parameter for NT family file size retrieval.
- Replaced direct socket calls with `::fast_io::noexcept_call` in POSIX networking functions to improve error handling.
- Introduced a `find_struct_guard` for automatic resource management in Win32 directory handling.
- Added `win32_9xa_dir_file_status_impl` to retrieve file status for Win32 9xa directory handles, enhancing compatibility with POSIX file status functions.
* Update win32.h
* Add GetDiskFreeSpace functions to win32 APIs for improved disk space retrieval
* update posix truncate
* update posix
* update posix_at
* Enhance Windows compatibility and update function implementations
- Added references for `kernel_timespec64` in `posix_at.h`.
- Updated `calculate_nt_open_mode` in `nt.h` to include `FILE_WRITE_ATTRIBUTES`.
- Renamed read and write functions in `win32.h` for clarity and to reflect their specific implementations.
- Adjusted `posix_pread_bytes_impl` and `posix_pwrite_bytes_impl` to use operations module functions for Windows 9x compatibility.
* Refactor POSIX truncate implementation for improved readability
- Adjusted spacing in conditional statements for consistency.
- Enhanced error handling in POSIX pipe setup by ensuring proper exception throwing.
- No functional changes; focus on code clarity and maintainability.
0 commit comments