Skip to content

Conversation

@macdice
Copy link
Contributor

@macdice macdice commented Dec 4, 2019

The documentation doesn't seem to cover the EOF behaviour when a synchronous file handle is accessed with an OVERLAPPED struct. That is a useful thing to do, in order to provide an offset, to simulate the POSIX function pread() (ie to avoid having a separate lseek() syscall). See also Raymond Chen's blog[1].

[1] https://devblogs.microsoft.com/oldnewthing/20150121-00/?p=44863

… struct

The documentation doesn't seem to cover the EOF behaviour when a synchronous file handle is accessed with an OVERLAPPED struct.  That is a useful thing to do, in order to provide an offset, to simulate the POSIX function pread() (ie to avoid having a separate lseek() syscall).  See also Raymond Chen's blog[1].

[1] https://devblogs.microsoft.com/oldnewthing/20150121-00/?p=44863
@PRMerger12
Copy link

@macdice : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@MatchaMatch
Copy link
Contributor

Thanks for your contribution @macdice. I've merged your changes and they should be live soon.

@macdice macdice deleted the patch-1 branch February 19, 2020 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants