Date: Thu, 16 Aug 2001 13:46:54 +0300 From: Ruslan Ermilov <ru@FreeBSD.ORG> To: Mark Murray <mark@grondar.za> Cc: arch@FreeBSD.ORG Subject: Re: Style 9 nitpicking question Message-ID: <20010816134654.C73183@sunbay.com> In-Reply-To: <200108161010.f7GAAsK68419@grimreaper.grondar.za>; from mark@grondar.za on Thu, Aug 16, 2001 at 11:10:53AM %2B0100 References: <200108161010.f7GAAsK68419@grimreaper.grondar.za>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 16, 2001 at 11:10:53AM +0100, Mark Murray wrote: [...] > 2) Is this (fprintf(stderr, "...", ...); exit(n);) really better than > errx(1, "...", ...); ? > > Any objections to changing the > > (void)fprintf(stderr, "usage: f [-ab]\n"); > exit(EX_USAGE); > > to > > errx(EX_USAGE, "usage: f [-ab]\n"); > Yes, at least in one respect. err(3) is non-standard. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010816134654.C73183>