Skip to content

Commit

Permalink
remove typo and rename system call to sys_poll
Browse files Browse the repository at this point in the history
  • Loading branch information
stlankes committed Jan 29, 2024
1 parent c29bf3c commit 1bba98b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hermit-abi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ extern "C" {
#[link_name = "sys_ioctl"]
pub fn ioctl(s: i32, cmd: i32, argp: *mut c_void) -> i32;

#[link_name = "sys_pool"]
#[link_name = "sys_poll"]
pub fn poll(fds: *mut pollfd, nfds: nfds_t, timeout: i32) -> i32;

/// listen for connections on a socket
Expand Down

0 comments on commit 1bba98b

Please sign in to comment.