VMS Help  —  CRTL  fgets  Return Values
    x                  Pointer to str.
    NULL               Indicates the end-of-file or an error. The
                       contents of str are undefined if a read error
                       occurs.
Close Help