pxfclearenv(3F)

PXFCLEARENV - Clears all environment variables

As shipped in IRIX 6.5.30. Last changed in IRIX 6.5.19.

NAME
     PXFCLEARENV - Clears all environment variables

SYNOPSIS
     SUBROUTINE PXFCLEARENV (ierror)
     INTEGER ierror

STANDARDS
     IEEE standard interface for FORTRAN 77

DESCRIPTION
     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.

     All arguments must be of default kind unless documented otherwise; 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.

NOTES
     The PXF_DEFINITIONS module can be used by Fortran 90 users to enable
     caller-callee interface checking.

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