pxfclearenv
- Date:
10-20-2011
NAME
PXFCLEARENV - Clears all environment variables
SYNOPSIS
SUBROUTINE PXFCLEARENV(ierror)
INTEGER ierror
STANDARDS
IEEE standard interface for FORTRAN 77
DESCRIPTION
The subroutine PXFCLEARENV removes all environment variables for the current process.
When using the Cray Fortran compiler, all arguments must be of default kind unless documented otherwise. The default kind is KIND=4 for integer, real, complex, and logical arguments.
The following argument is used with this subroutine:
- ierror
An output integer variable that contains a status of zero if all environment variables were cleared.
EXAMPLES
This example shows how to use the PXFCLEARENV routine to clear the environment variable for the current process.
program pxftest
integer ierror
CALL PXFCLEARENV(ierror)
if (ierror .eq. 0) then
print *,'PASSED: pxfclearenv test'
else
print *,'FAILED: pxfclearenv test'
endif
end
This example may display:
PASSED: pxfclearenv test