pxfclearenv(3F)
PXFCLEARENV - Clears all environment variables
As shipped in IRIX 6.5.7. Last changed in IRIX 6.5.5.
NAME PXFCLEARENV - Clears all environment variables SYNOPSIS SUBROUTINE PXFCLEARENV (ierror) INTEGER ierror IMPLEMENTATION UNICOS, UNICOS/mk, and IRIX systems STANDARDS IEEE standard interface for FORTRAN 77 DESCRIPTION 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 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. 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 SEE ALSO Application Programmer's Library Reference Manual for the printed version of this man page.