From owner-freebsd-hackers Wed Jul 29 03:23:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA25913 for freebsd-hackers-outgoing; Wed, 29 Jul 1998 03:23:37 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from hda.hda.com (hda-bicnet.bicnet.net [208.220.66.37]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA25908 for ; Wed, 29 Jul 1998 03:23:31 -0700 (PDT) (envelope-from dufault@hda.hda.com) Received: (from dufault@localhost) by hda.hda.com (8.8.5/8.8.5) id FAA03226; Wed, 29 Jul 1998 05:56:05 -0400 (EDT) From: Peter Dufault Message-Id: <199807290956.FAA03226@hda.hda.com> Subject: Re: sysexits In-Reply-To: <199807262053.NAA15723@usr01.primenet.com> from Terry Lambert at "Jul 26, 98 08:53:52 pm" To: tlambert@primenet.com (Terry Lambert) Date: Wed, 29 Jul 1998 05:56:05 -0400 (EDT) Cc: hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > What's wrong with errx(1, "[mcre]alloc failed")? > > The inherent unportability of such code to non-4.4-BSD derived > systems, perhaps? For me this is a no-brainer: errx et al is an acceptable interface spec when working on system utilities running on a system that dictate using this interface in style(9). One could define (and probably one has defined) a better interface, but one probably has better things to do with one's time. Peter -- Peter Dufault (dufault@hda.com) Realtime development, Machine control, HD Associates, Inc. Safety critical systems, Agency approval To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message