Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document the EOF behaviour for synchronous file handles with lpOverlapped #7

Merged
merged 1 commit into from
Feb 19, 2020

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