Re:Rust RAII is better than the Haskell bracket pattern
by Ooveex2C on Tuesday October 09, 2018 @04:54AM
(#18174293)
The error handling in close is platform specific, so you have to convert the file into a raw fd/handle and then pass it to the appropriate libc methods.
[ Parent
| on HN ]
There are no comments on this comment yet.