cmsNextProfileIteration(3)

cmsNextProfileIteration - get the next profile in an iteration

As shipped in IRIX 6.5. First release of IRIX 6.5.

NAME
     cmsNextProfileIteration - get the next profile in an iteration

SYNOPSIS
     #include <cms.h>

     int32 cmsNextProfileIteration (ctxt, profIterator, spec);
     CMSContext ctxt;
     CMSProfileIterator profIterator;
     char **spec;

DESCRIPTION
     cmsNextProfileIteration returns the name of the next profile in a profile
     iteration.  profIterator keeps the current iteration position.  It should
     not be modified.  cmsNextProfileIteration returns NULL when the iteration
     is complete.  Note that cmsNextProfileIteration return a pointer to a
     char * , not a CMSProfile.  That is, the profile would have to be opened
     in order to read any tags from it.

     You must free spec when it no longer needs it, by calling free.

ERRORS
     CMS_OUT_OF_MEMORY
               There is not sufficient memory in the system to fetch the next
               iteration.

     CMS_NO_MORE_PROFILES
               There are no more profiles over which to iterate.

SEE ALSO
     cmsStartProfileIteration, cmsEndProfileIteration