Other Aliasim_pincheck, im_poutcheck
int im_pincheck( in )
int im_poutcheck( out )
int im_piocheck( in, out)
IMAGE *in, *out;
DESCRIPTIONim_pincheck(3) checks that an image descriptor is suitable for PIO input. If the descriptor is IM_OPENOUT and the descriptor has been written to, it is automatically `rewound,' that is, it is closed and reopened as an IM_MMAPIN descriptor.
im_poutcheck(3) checks that a descriptor is suitable for PIO output.
RETURN VALUEAll functions returns 0 on success and -1 on error.
AUTHORJ. Cupitt - 23/7/93