Open MarijnS95 opened 11 months ago
Actually I think we should switch to nix or rustix: no code below is validating the error codes returned by libc, while those APIs do. On quick inspection I prefer rustix: they return OwnedFd from pipe() rather than nix' returning RawFd.
Actually I think we should switch to nix or rustix: no code below is validating the error codes returned by libc, while those APIs do.
nix
rustix
libc
On quick inspection I prefer rustix: they return OwnedFd from pipe() rather than nix' returning RawFd.
OwnedFd
pipe()
RawFd
_Originally posted by @MarijnS95 in https://github.com/rust-mobile/android-activity/pull/116#discussion_r1311453261_
_Originally posted by @MarijnS95 in https://github.com/rust-mobile/android-activity/pull/116#discussion_r1311453261_