1
2
3
4
5
pub fn validate(status: libc::c_int) {
    if status != 0 {
        unsafe { libc::exit(1) }
    }
}