Skip to content

Commit

Permalink
remove code to handle classical error numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
stlankes committed Sep 18, 2023
1 parent 8b9143b commit c20ab5c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions hermit-abi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -461,14 +461,6 @@ extern "C" {
#[link_name = "sys_open"]
pub fn open(name: *const i8, flags: i32, mode: i32) -> i32;

/// get errno
#[link_name = "sys_get_errno"]
pub fn get_errno() -> i32;

/// set errno
#[link_name = "sys_set_errno"]
pub fn set_errno(e: i32);

/// open a directory
///
/// The opendir() system call opens the directory specified by `name`.
Expand Down

0 comments on commit c20ab5c

Please sign in to comment.