mpiControlVersionTextFree

Declaration

MPI_RESULT
	mpiControlVersionTextFree(const char	**versionText);

 

Required Header: Control.h

Change History: Added in 04.00.

Description

mpiControlVersionTextFree deletes the versionText string and sets *versionText to NULL.

**versionText A pointer to a version text string
Return Values
MPIMessageOK
MPIControlMessageARG_INVALID

Sample Code

const char      *versionText = 0;

/* Display version information */ returnValue = mpiControlVersionText(control, &versionText);
if (versionText != 0) { mpiPlatformConsole("%s\n", versionText); }
if (returnValue == MPIMessageOK) { returnValue = mpiControlVersionTextFree(&versionText); }

See Also

mpiControlVersionText