Error Mapping To C Language Errno Values - HP Guardian Errors Manual

Procedure errors and messages manual
Table of Contents

Advertisement

On D-series releases, file-system error information is also available using one of the procedures
described in
Table
Table 3 D-Series Error Information Procedures
Procedure
FILE_GETINFO
FILE_GETINFOLIST_
FILE_GETINFOBYNAME_
FILE_GETINFOLISTBYNAME_
For more information on errors related to terminals, line printers, tape drives, card readers,
interprocess communication, and the operator console, refer to the Guardian Programmer's Guide.
For more information about interprocess communication errors that can occur when applications
use the Subsystem Programmatic Interface (SPI), refer to the SPI Programming Manual.
File-system errors returned by the data communications subsystems can have special meanings
depending on the particular subsystem, access method, or protocol being used. After obtaining
the device type associated with the error, consult Appendix A of the Guardian Procedure Calls
Reference Manual to determine which subsystem is involved and refer to the appropriate manual
for the subsystem.
NOTE:
In the error code descriptions, if a device-type number includes a dot (.), the digits to the
left of the dot are the device type and the digits to the right of the dot are the device subtype.

Error Mapping to C Language errno Values

Some Guardian file-system errors map to corresponding C language error numbers. These error
numbers are returned in the errno value when using the C programming language. See
for a list of file-system errors and their corresponding C errno values.
Table 4 Guardian File-System Errors Mapped to C Errors
File-System Error
0- 1
2
4
1 1
12
13- 1 5
16
18
21
22
24
29
31-37
20
File-System Errors
3.
When to Use
To obtain information about a file using the file number (filenum).
To obtain information about a file using the file number (filenum).
To obtain information about a file using the file name (file-name). If you call
FILE_GETINFOBYNAME_ in a waited manner, the system returns the information in
the procedure output parameters. However, if you call this procedure in a nowait
manner, the system returns the information in the system message - 1 08 (nowait
FILE_GETINFOBYNAME_ completion), which is described in
To obtain information about a file using the file name (file-name).
C errno Symbolic Name
ENOERR
ENOENT
EIO
ENOENT
EGUARDIANOPEN
ENOENT
EBADF
ENOENT
EINVAL
EFAULT
EPERM
EINVAL
ENOMEM
"System
Messages".
Table 4

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Guardian

Table of Contents