Implemented assignments, working on job control
This commit is contained in:
@@ -15,21 +15,32 @@ pub use std::fs::{ self, File, OpenOptions };
|
||||
pub use std::path::{ Path, PathBuf };
|
||||
pub use std::ffi::{ CStr, CString };
|
||||
pub use std::process::exit;
|
||||
pub use std::time::Instant;
|
||||
pub use std::mem;
|
||||
pub use std::env;
|
||||
pub use std::fmt;
|
||||
|
||||
// Unix-specific IO abstractions
|
||||
pub use std::os::unix::io::{ AsRawFd, FromRawFd, IntoRawFd, OwnedFd, RawFd, };
|
||||
pub use std::os::unix::io::{ AsRawFd, BorrowedFd, FromRawFd, IntoRawFd, OwnedFd, RawFd, };
|
||||
|
||||
// Nix crate for POSIX APIs
|
||||
pub use nix::{
|
||||
errno::Errno,
|
||||
fcntl::{ open, OFlag },
|
||||
sys::{
|
||||
signal::{ self, kill, SigHandler, Signal },
|
||||
signal::{ self, kill, killpg, pthread_sigmask, SigSet, SigmaskHow, SigHandler, Signal },
|
||||
stat::Mode,
|
||||
wait::{ waitpid, WaitStatus },
|
||||
wait::{ waitpid, WaitPidFlag as WtFlag, WaitStatus as WtStat },
|
||||
},
|
||||
libc::{ STDIN_FILENO, STDERR_FILENO, STDOUT_FILENO },
|
||||
unistd::{ dup, read, write, close, dup2, execvpe, fork, pipe, Pid, ForkResult },
|
||||
unistd::{
|
||||
dup, read, isatty, write, close, setpgid, dup2, getpgrp,
|
||||
execvpe, tcgetpgrp, tcsetpgrp, fork, pipe, Pid, ForkResult
|
||||
},
|
||||
};
|
||||
pub use bitflags::bitflags;
|
||||
|
||||
pub use crate::flog;
|
||||
pub use crate::libsh::flog::FernLogLevel::*;
|
||||
|
||||
// Additional utilities, if needed, can be added here
|
||||
|
||||
Reference in New Issue
Block a user