PXFCLEARENV(3F) Last changed: 1-6-98
PXFCLEARENV - Clears all environment variables
SUBROUTINE PXFCLEARENV (ierror)
INTEGER ierror
UNICOS, UNICOS/mk, and IRIX systems
IEEE standard interface for FORTRAN 77
On IRIX systems, this routine is in libfortran.so which is linked by
default when compiling programs with the MIPSpro 7 Fortran 90 compiler
or when compiling programs with the -craylibs option to the MIPSpro
7.2 F77 compiler.
The subroutine PXFCLEARENV removes all environment variables for the
current process.
When using the CF90 compiler or MIPSpro 7 Fortran 90 compiler on
UNICOS, UNICOS/mk, or IRIX systems, all arguments must be of default
kind unless documented otherwise. On UNICOS and UNICOS/mk, default
kind is KIND=8 for integer, real, complex, and logical arguments; on
IRIX, the default kind is KIND=4.
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.
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
Application Programmer's Library Reference Manual, publication SR2165,
for the printed version of this man page.
PXFCLEARENV(3F) Last changed: 1-6-98
PXFCLEARENV - Clears all environment variables
SUBROUTINE PXFCLEARENV (ierror)
INTEGER ierror
UNICOS, UNICOS/mk, and IRIX systems
IEEE standard interface for FORTRAN 77
On IRIX systems, this routine is in libfortran.so which is linked by
default when compiling programs with the MIPSpro 7 Fortran 90 compiler
or when compiling programs with the -craylibs option to the MIPSpro
7.2 F77 compiler.
The subroutine PXFCLEARENV removes all environment variables for the
current process.
When using the CF90 compiler or MIPSpro 7 Fortran 90 compiler on
UNICOS, UNICOS/mk, or IRIX systems, all arguments must be of default
kind unless documented otherwise. On UNICOS and UNICOS/mk, default
kind is KIND=8 for integer, real, complex, and logical arguments; on
IRIX, the default kind is KIND=4.
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.
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
Application Programmer's Library Reference Manual, publication SR2165,
for the printed version of this man page.
[ Back ]
|