29.01.2013 Views

GPFS: Administration and Programming Reference - IRA Home

GPFS: Administration and Programming Reference - IRA Home

GPFS: Administration and Programming Reference - IRA Home

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

gpfs_free_fssnaph<strong>and</strong>le() Subroutine<br />

Name<br />

gpfs_free_fssnaph<strong>and</strong>le() - Frees a <strong>GPFS</strong> file system snapshot h<strong>and</strong>le.<br />

Library<br />

<strong>GPFS</strong> Library (libgpfs.a for AIX, libgpfs.so for Linux)<br />

Synopsis<br />

#include <br />

void gpfs_free_fssnaph<strong>and</strong>le(gpfs_fssnap_h<strong>and</strong>le_t *fssnapH<strong>and</strong>le);<br />

Description<br />

The gpfs_free_fssnaph<strong>and</strong>le() subroutine frees the snapshot h<strong>and</strong>le that is passed. The return value is<br />

always void.<br />

Notes:<br />

1. Compile any program that uses this subroutine with the -lgpfs flag from the following library:<br />

v libgpfs.a for AIX<br />

v libgpfs.so for Linux<br />

Parameters<br />

fssnapH<strong>and</strong>le File system snapshot h<strong>and</strong>le.<br />

Exit status<br />

The gpfs_free_fssnaph<strong>and</strong>le() subroutine always returns void.<br />

Exceptions<br />

None.<br />

Error status<br />

None.<br />

Examples<br />

For an example using gpfs_free_fssnaph<strong>and</strong>le(), see /usr/lpp/mmfs/samples/util/tsbackup.C.<br />

Location<br />

/usr/lpp/mmfs/lib/libgpfs.a for AIX, /usr/lpp/mmfs/lib/libgpfs.so for Linux<br />

290 <strong>GPFS</strong>: <strong>Administration</strong> <strong>and</strong> <strong>Programming</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!