Date: Wed, 14 Jul 1999 20:04:36 +0200 From: Sheldon Hearn <sheldonh@uunet.co.za> To: wayne@crb-web.com Cc: Andy Doran <ad@fionn.sports.gov.uk>, FreeBSD Hackers List <freebsd-hackers@FreeBSD.ORG> Subject: Re: changing argv[0] after fork() Message-ID: <63645.931975476@axl.noc.iafrica.com> In-Reply-To: Your message of "Wed, 14 Jul 1999 13:28:07 -0400." <Pine.LNX.3.95.990714132715.9360G-100000@crb.crb-web.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 14 Jul 1999 13:28:07 -0400, Wayne Cuddy wrote: > Even though I am developing on FBSD is there a "more portable" way to > do this? See the STANDARDS section of the setproctitle(3) manpage. If you worry that you may port to an operating system whose setproctitle() has a different calling convention, then stick to manipulating argv[0]. If your only concern is whether setproctitle() will be present on other systems, you'll probably want an #ifdef SETPROCTITLE. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?63645.931975476>