Subject: Re: ftruncate: ENOSPC?
To: None <>
From: Chapman Flack <>
List: tech-kern
Date: 06/26/2006 14:29:41
Christos Zoulas wrote:
> Well, opengroup does not list this as a valid error code to return,

Well, opengroup does not list it, but that is not a statement on validity,
because opengroup does not present the list as exhaustive, and explicitly

Implementations may support additional errors not included in this list, may generate errors included in this list under circumstances other than those described here, or may contain extensions or limitations that prevent some errors from occurring. The ERRORS section on each reference page specifies whether an error shall be returned, or whether it may be returned. Implementations shall not generate a different error number from the ones described here for error conditions described in this volume of IEEE Std 1003.1-2001, but may generate additional errors unless explicitly disallowed for a particular function.

> neither do our man pages.

The difference is, our page really does say ENOSPC can't happen, and
we don't mean it. We should change the page.