You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #3090 - josephlr:solaris, r=JohnTitor
Solaris/Illumos: use correct types for getrandom(2) flags
On Solaris (and any other platform that supports it), the `getrandom(2)` syscall has signature:
```rust
fn getrandom(buf: *mut c_void, buflen: size_t, flags: c_uint) -> ssize_t;
```
so the flag constants (`GRND_NONBLOCK`, `GRND_RANDOM`, etc...) should be of type `c_uint`.
I'm not sure if this sort of "bug fix" counts as a breaking change, there weren't any Solaris/Illumos files under `libc-test/semver`.
Signed-off-by: Joe Richey <[email protected]>
0 commit comments