[MINC-users] "Silent" start_volume_input

Robert VINCENT bert@bic.mni.mcgill.ca
Mon Jun 7 16:31:03 2004


Olivier,

The easiest way I see to do this would be to define a function like:

void my_print_error(char *message)
{
	/* do nothing */
}

Then call the function "set_print_error_function(my_print_error);"
somewhere before you call start_volume_input().  This tells the library to

	-bert

On Mon, 7 Jun 2004, Olivier Colliot wrote:

> Hi,
>
> Is there a way to ask the function "start_volume_input" to stay "silent" ?
> i.e. to prevent it from outputting messages like "Error: opening MINC
> file" to stderr ?
>
> Thanks,
> Olivier
>
>
> _______________________________________________
> MINC-users@bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>