Investigate migrating naive `libc` code to managed/safe `rustix`
MarijnS95 opened this issue · 0 comments
MarijnS95 commented
Actually I think we should switch to
nix
orrustix
: no code below is validating the error codes returned bylibc
, while those APIs do.On quick inspection I prefer
rustix
: they returnOwnedFd
frompipe()
rather thannix
' returningRawFd
.
Originally posted by @MarijnS95 in #116 (comment)