-
Notifications
You must be signed in to change notification settings - Fork 805
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
Complete NSFileHandle stubs #2367
Comments
I wonder how one encodes a file handle; it's a pointer to an ephemeral thing. 😕 |
By way of answering my own question: they cannot be coded. Attempts to do so throw an exception unless an Since we do not support Mach IPC, we will just implement them to throw exceptions. |
DHowett-MSFT
pushed a commit
to DHowett-MSFT/WinObjC
that referenced
this issue
Apr 10, 2017
DHowett-MSFT
pushed a commit
to DHowett-MSFT/WinObjC
that referenced
this issue
Apr 10, 2017
This commit marks roughly half of NSFileHandle's APIs NotInPlan. WinSock deals in opaque handles which cannot be used with open/close/seek/tell/read/write, so most of NSFileHandle's APIs cannot be supported with the POSIX File Descriptor interface. The background APIs are better suited to use with a socket than with a file, so until somebody asks for socket support, we will mark them unplanned. File handles cannot be coded except through IPC coders, but WinObjC does not have any IPC coders. Fixes microsoft#2367.
DHowett-MSFT
pushed a commit
that referenced
this issue
Apr 11, 2017
This commit marks roughly half of NSFileHandle's APIs NotInPlan. WinSock deals in opaque handles which cannot be used with open/close/seek/tell/read/write, so most of NSFileHandle's APIs cannot be supported with the POSIX File Descriptor interface. The background APIs are better suited to use with a socket than with a file, so until somebody asks for socket support, we will mark them unplanned. File handles cannot be coded except through IPC coders, but WinObjC does not have any IPC coders. Fixes #2367.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
initWithCoder:
encodeWithCoder:
fileHandleWithStandardOutput
fileHandleWithStandardError
readInBackgroundAndNotify
Also:
NSFileHandleReadCompletionNotification
The text was updated successfully, but these errors were encountered: