Chapter Contents

Previous

Next
cmsfnext

cmsfnext



Find the Next CMS Fileid Matching a Pattern

Portability: SAS/C extension


SYNOPSIS
DESCRIPTION
RETURN VALUE
EXAMPLE
RELATED FUNCTIONS
SEE ALSO


SYNOPSIS

#include <cmsio.h>

int cmsfnext(struct EXT_FILEINFO *info);


DESCRIPTION

cmsfnext finds the next CMS fileid matching the pattern used in the previous call to cmsffind . The info function is a pointer to an EXT_FILEINFO structure used in a previous call to cmsffind . If a match is found, the information for the new match is stored in the EXT_FILEINFO structure, replacing whatever data were previously contained in the structure. Refer to cmsffind for a description of the data stored by cmsfnext in the EXT_FILEINFO structure.

To determine the century of the Date member of EXT_FILEINFO, call the cmsfcent function.


RETURN VALUE

cmsfnext returns 0 if a matching fileid is found or a non-zero value if no matching fileid is found.


EXAMPLE

See the example for cmsffind .


RELATED FUNCTIONS

cmsffind , cmsfquit , cmsfcent


SEE ALSO


Chapter Contents

Previous

Next

Top of Page

Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.