Operating system error messages include system call failures, C library errors, and shell diagnostics. The system call error messages are found in intro(2). System calls made through the Fortran library do not produce error messages directly. The following system routine in the Fortran library calls C library routines which produce an error message:
integer system, status status = system("cp afile bfile") print*, "status = ", status end |
The following message is displayed:
cp: cannot access afile status = 512 |