1
0
Fork 0
forked from wry/wry

autocommit 2022-03-11 20:04:41 CET

This commit is contained in:
Julian Orth 2022-03-11 20:04:41 +01:00
parent 0ae73ab9c4
commit eb1d500561
10 changed files with 93 additions and 75 deletions

View file

@ -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;

View file

@ -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)?;