coretilus 0.4.0

A parody of GNU Coreutils — a playful collection of typo-triggered command-line tools written in Rust
Documentation
#![doc(
    html_favicon_url = "https://gitlab.com/ttblt-oss/coretilus/coretilus/-/raw/main/coretilus.png?ref_type=heads&inline=false"
)]
#![doc(
    html_logo_url = "https://gitlab.com/ttblt-oss/coretilus/coretilus/-/raw/main/coretilus.png?ref_type=heads&inline=false"
)]

pub mod command;
pub mod commands;
pub mod engine_v2;
pub mod tools;

#[cfg(unix)]
mod signal {
    const SIGINT: i32 = 2;
    const SIG_IGN: usize = 1;
    unsafe extern "C" {
        unsafe fn signal(sig: i32, handler: usize) -> usize;
    }

    #[allow(dead_code)]
    pub fn ignore_sigint() {
        unsafe {
            signal(SIGINT, SIG_IGN);
        }
    }
}