.
Last update: 1997-05-20
9945-1-90 #75
_____________________________________________________________________________
Defect Report Number: XXXX
Topic: off_t error messages and 9945-1/INT #37
Relevant Sections:
Classification:
Defect Report:
-----------------------
This is a request for interpretation of ISO/IEC standard 9945-1:1990 (IEEE
1003.1-1990)
ISO/IEC 9945-1/13210/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.
WG15 response for 9945-1:1990 (9945-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