Use of the information contained in this unapproved document is at your own risk
.Last update: 10 April,2001
1003.1-90 #75
_____________________________________________________________________________
Interpretation Number: XXXX
Topic: off_t error messages and 1003.1/INT #37
Relevant Sections:
Classification:
Interpretation Request: (Defect Report)
-----------------------
This is a request for interpretation of IEEE standard 1003.1-1990 (ISO
9945-1:1990)
IEEE Std 1003.1/2003.1/Int, October 1994 edition states
that EINVAL is the errno that applies when you exceed the upper limit for off_t.
Is it conforming for an implementation defined error such as EOVERFLOW
to be given as the errno in the case where the file is larger in size
than can be represented in an off_t? In this case seeking beyond an off_t
is not an invalid position in this file and thus EINVAL would not
be the appropriate errno.
IEEE Interpretation for 1003.1-1990 (1003.1-90 #75)
-----------------------------------
Yes it is conforming. Interpretation #37 does not apply EINVAL to this
case.
The standard clearly states that implementations may support additional
errors not listed in this clause, but shall not generate a different
error number from one required by this part of ISO/IEC 9945 for
an error condition described in this part of ISO/IEC 9945.
Rationale for Interpretation:
-----------------------------
None.
Forwarded to Interpretation group: Aug 30 1995
Finalised: Nov 21 1995