im_poutcheck(3)

im_poutcheck3

Checks image descriptors for pio

Part of im_piocheck(3).

Usage

#include <vips/vips.h>

int im_pincheck( in )
IMAGE *in;

int im_poutcheck( out )
IMAGE *out;

int im_piocheck( in, out)
IMAGE *in, *out;

Overview

im_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.

im_piocheck(3) simply calls in_pincheck(3) for image in and im_poutcheck(3) for image out.

Return value

All functions returns 0 on success and -1 on error.

Releases

4 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1–4.0
  2. 5.0–6.0

Author

J. Cupitt - 23/7/93

From libvips-dev 7.20.7-1+b3 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.