autocommit 2022-03-11 20:04:41 CET
This commit is contained in:
parent
0ae73ab9c4
commit
eb1d500561
10 changed files with 93 additions and 75 deletions
|
|
@ -9,6 +9,7 @@ pub mod debug_fn;
|
|||
pub mod errorfmt;
|
||||
pub mod hex;
|
||||
pub mod linkedlist;
|
||||
pub mod nonblock;
|
||||
pub mod numcell;
|
||||
pub mod oserror;
|
||||
pub mod ptr_ext;
|
||||
|
|
@ -21,4 +22,3 @@ pub mod tri;
|
|||
pub mod vasprintf;
|
||||
pub mod vec_ext;
|
||||
pub mod vecstorage;
|
||||
pub mod nonblock;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
use uapi::{c};
|
||||
use crate::utils::oserror::OsError;
|
||||
use uapi::c;
|
||||
|
||||
pub fn set_nonblock(fd: c::c_int) -> Result<(), OsError> {
|
||||
let fl = uapi::fcntl_getfl(fd)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue