SYNOPSIS
void register_cleanup( closure c, arg1, arg2, ... )
FILE
/kernel/simul_efun/misc.h
DESCRIPTION
Registers a clean-up closure which will be called with the specified
arguments after the current command execution ended.