From owner-freebsd-arch Sat May 13 14:13:15 2000 Delivered-To: freebsd-arch@freebsd.org Received: from assaris.sics.se (dyna225-140.nada.kth.se [130.237.225.140]) by hub.freebsd.org (Postfix) with ESMTP id 9036E37B912; Sat, 13 May 2000 14:13:11 -0700 (PDT) (envelope-from assar@assaris.sics.se) Received: (from assar@localhost) by assaris.sics.se (8.9.3/8.9.3) id XAA17056; Sat, 13 May 2000 23:13:18 +0200 (CEST) (envelope-from assar) To: Robert Watson Cc: freebsd-arch@FreeBSD.ORG Subject: Re: Procedure for introducing new errno values? References: From: Assar Westerlund Date: 13 May 2000 23:13:17 +0200 In-Reply-To: Robert Watson's message of "Tue, 2 May 2000 21:19:38 -0400 (EDT)" Message-ID: <5l8zxenogi.fsf@assaris.sics.se> Lines: 20 User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Robert Watson writes: > What is the correct procedure for adding new errno values? Presumably > errno.8, src/sys/errno.h, as well as presumably some other files (perhaps > in libc) for defining the string version, et al? I think src/sys/errno.h, src/lib/libc/gen/errlst.c, and src/lib/libc/sys/intro.2 should be it. > I've also noticed that there is an errno.h in both /usr/include and > /usr/include/sys. Isn't the one in /usr/include a symlink to sys/errno.h? > I am proposing EEXTATTR ("Extended attribute not defined"), which would be > returned when a consumer of the VOP_GETEXTATTR() call attempted to > retrieve an undefined attribute name. Sounds fine to me. Or perhaps ENOEXTATTR? /assar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message