gpfs_close_inodescan() subroutine

Closes an inode scan.

Library

GPFS Library (libgpfs.a for AIX®, libgpfs.so for Linux®)

Synopsis

#include <gpfs.h>
void gpfs_close_inodescan(gpfs_iscan_t *iscan);

Description

The gpfs_close_inodescan() subroutine closes the scan of the inodes in a file system or snapshot that was opened with the gpfs_open_inodescan() subroutine. The gpfs_close_inodescan() subroutine frees all storage used for the inode scan and invalidates the iscan handle.

Note: Compile any program that uses this subroutine with the -lgpfs flag from the following library:
  • libgpfs.a for AIX
  • libgpfs.so for Linux

Parameters

iscan
Pointer to the inode scan handle.

Exit status

The gpfs_close_inodescan() subroutine returns void.

Exceptions

None.

Error status

None.

Examples

For an example using gpfs_close_inodescan(), see /usr/lpp/mmfs/samples/util/tsgetusage.c.

Location

/usr/lpp/mmfs/lib/libgpfs.a for AIX

/usr/lpp/mmfs/lib/libgpfs.so for Linux