call_usermodehelper_setfns man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

CALL_USERMODEHELPER_(9)		Module Support	       CALL_USERMODEHELPER_(9)

NAME
       call_usermodehelper_setfns - set a cleanup/init function

SYNOPSIS
       void call_usermodehelper_setfns(struct subprocess_info * info,
				       int (*init) (struct subprocess_info *info),
				       void (*cleanup) (struct subprocess_info *info),
				       void * data);

ARGUMENTS
       info
	   a subprocess_info returned by call_usermodehelper_setup

       init
	   an init function

       cleanup
	   a cleanup function

       data
	   arbitrary context sensitive data

DESCRIPTION
       The init function is used to customize the helper process prior to
       exec. A non-zero return code causes the process to error out, exit, and
       return the failure to the calling process

       The cleanup function is just before 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.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013	       CALL_USERMODEHELPER_(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net