Function origin::at_exit[][src]

pub unsafe fn at_exit(
    func: unsafe extern "C" fn(_: *mut c_void),
    arg: *mut c_void
)
Expand description

Register a function to be called when exit is called.

Safety

This arranges for func to be called, and passed obj, when the program exits.