VMS Help  —  CRTL  fopen  Return Values
    x                  File pointer.
    NULL               Indicates an error. The constant NULL is
                       defined in the <stdio.h> header file to be
                       the NULL pointer value. The function returns
                       NULL to signal the following errors:

                       o  File protection violations

                       o  Attempts to open a nonexistent file for
                          read access

                       o  Failure to open the specified file
Close Help