Skip to content

Commit

Permalink
Fix typo: readfs -> readfds
Browse files Browse the repository at this point in the history
  • Loading branch information
giraffate committed Oct 25, 2022
1 parent a8b7b9c commit e206853
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/fuchsia/mod.rs
Expand Up @@ -3780,7 +3780,7 @@ extern "C" {
pub fn poll(fds: *mut pollfd, nfds: nfds_t, timeout: ::c_int) -> ::c_int;
pub fn select(
nfds: ::c_int,
readfs: *mut fd_set,
readfds: *mut fd_set,
writefds: *mut fd_set,
errorfds: *mut fd_set,
timeout: *mut timeval,
Expand Down Expand Up @@ -3817,7 +3817,7 @@ extern "C" {

pub fn pselect(
nfds: ::c_int,
readfs: *mut fd_set,
readfds: *mut fd_set,
writefds: *mut fd_set,
errorfds: *mut fd_set,
timeout: *const timespec,
Expand Down
4 changes: 2 additions & 2 deletions src/unix/mod.rs
Expand Up @@ -1304,7 +1304,7 @@ extern "C" {
#[cfg_attr(target_os = "netbsd", link_name = "__select50")]
pub fn select(
nfds: ::c_int,
readfs: *mut fd_set,
readfds: *mut fd_set,
writefds: *mut fd_set,
errorfds: *mut fd_set,
timeout: *mut timeval,
Expand Down Expand Up @@ -1356,7 +1356,7 @@ extern "C" {
#[cfg_attr(target_os = "netbsd", link_name = "__pselect50")]
pub fn pselect(
nfds: ::c_int,
readfs: *mut fd_set,
readfds: *mut fd_set,
writefds: *mut fd_set,
errorfds: *mut fd_set,
timeout: *const timespec,
Expand Down

0 comments on commit e206853

Please sign in to comment.