Date: 21 Feb 2001 14:24:57 +0100 From: Assar Westerlund <assar@FreeBSD.ORG> To: Bruce Evans <bde@zeta.org.au> Cc: Kris Kennaway <kris@obsecurity.org>, arch@FreeBSD.ORG Subject: Re: [cgd@netbsd.org: CVS commit: basesrc] Message-ID: <5l1yssrwwm.fsf@assaris.sics.se> In-Reply-To: Bruce Evans's message of "Wed, 21 Feb 2001 16:03:42 %2B1100 (EST)" References: <Pine.BSF.4.21.0102211600070.25199-100000@besplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans <bde@zeta.org.au> writes: > It won't help much with portability. getprogname() and setprogname() > are currently even more unportable than __progname, and their names > don't indicated that they should not be used in applications. But they're supposed to be used in applications. They are helpful when porting BSD programs that use {err,warn}{,x} (thus relying on the presence of a __progname). When porting these to non-BSD systems, you only need to add the trivial implementation of {s,g}etprogname. Which, I would like to add, was the original rationale for having these functions. /assar 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?5l1yssrwwm.fsf>