next up previous contents
Next: Opening and closing a Up: Working with the MINC Previous: Header and library files   Contents

Function return values

Most MINC 2 library functions return a signed integer value that reports either that the operation succeeded (MI_NOERROR) or failed (MI_ERROR). More generally, a negative return value is interpreted as an error result, while a zero or positive value is interpreted as signifying a successful operation.

Robert VINCENT 2004-05-28