Info
This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: Why are Linux file descriptors and Windows file handles are considered different things by a standard library?
Hello everyone!
I've noticed that the Rust standard library distinguishes concepts of Unix file descriptor and Windows file handle. However, as far as I understand, both can serve either as a reference to the open file that can be used for I/O or other manipulation, or a reference to some other object for some other tasks, and Rust standard library interface to them look similar. I wonder, what is the reason for such distinction?
2 posts - 2 participants
🏷️ Rust_feed