call_usermodehelper_setcleanup9
Set a cleanup function
Usage
void call_usermodehelper_setcleanup(struct subprocess_info * info, void (*cleanup) (char **argv, char **envp));
Arguments
info
a subprocess_info returned by call_usermodehelper_setup
cleanup
a cleanup function
Overview
The cleanup function is just befor ethe subprocess_info is about to be freed. This can be used for freeing the argv and envp. The Function must be runnable in either a process context or the context in which call_usermodehelper_exec is called.
Releases
3 releases since Debian 4.0 (Etch); the text changed 2 times.