sys/netproto/atm/ipatm/ipatm_load.c
static int
ipatm_doload(void)
{
	int	err = 0;

	/*
	 * Start us up
	 */
	err = ipatm_start();
	if (err)
		/* Problems, clean up */
		ipatm_stop();

	return (err);
}
/*
 * Generic module load processing
 * 
 * This function is called by an OS-specific function when this
 * module is being loaded.
 *
 * Arguments:
 *	none
 *
 * Returns:
 *	0 	load was successful 
 *	errno	load failed - reason indicated
 *
 */
Generic module load processing

This function is called by an OS-specific function when this
module is being loaded.

none

0       load was successful
errno   load failed - reason indicated
Generic module load processing This function is called by an OS - specific function when this module is being loaded . none 0 load was successful errno load failed - reason indicated
static int
ipatm_doload(void)
{
	int	err = 0;
	err = ipatm_start();
	if (err)
		ipatm_stop();
	return (err);
}
static int ipatm_doload ( void ) { int err = 0 ; err = ipatm_start ( ) ; if ( err ) ipatm_stop ( ) ; return ( err ) ; }
Generic module load processing
Generic module load processing
/*
	 * Start us up
	 */ /* Problems, clean up */