C/C++ Programmer's Guide (G06.27+, H06.03+)

Table Of Contents
Run-Time Messages
HP C/C++ Programmer’s Guide for NonStop Systems429301-010
22-16
Input/Output Messages
Input/Output Messages
The CRE or run-time libraries report the messages in this subsection if an error occurs
when calling an I/O function.
59
Cause. The file system reported an error when a routine tried to access the standard
input file. error is a file-system error number.
Unable to open filename” appears when the C run-time library cannot open the
standard input file during program initialization. filename shows the name for which
the open operation failed.
Effect. The CRE can report this error when it closes your input file. All other instances
are language and application dependent.
Recovery. If the error was caused by a read request from your program, correct your
program. You might need to ensure that your program handles conditions that are
beyond your control such as losing a path to the device. Also refer to error handling in
this manual and in the language manual for the routine in your program that detected
the error.
If the error was caused by a read request from the CRE, consult your system
administrator.
If the error was caused during program initialization, specify an acceptable input file
when executing your program.
60
Cause. The file system reported an error when the CRE called a file system procedure
to access standard output. error is the file-system error number.
Unable to open filename” appears when the C run-time library cannot open the
standard output file during program initialization. filename shows the name for which
the open operation failed.
Effect. The CRE can report this error when it closes your output file. All other
instances are language and application dependent.
Recovery. If the error was caused by a write request from your program, correct your
program. You might need to ensure that your program handles conditions that are
beyond your control such as losing a path to the device. Also refer to error handling in
Standard input file error ( error )
Unable to open filename
Standard output file error ( error )
Unable to open filename