From owner-freebsd-hackers Wed Jul 14 7:45:59 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mrelay.jrc.it (mrelay.jrc.it [139.191.1.65]) by hub.freebsd.org (Postfix) with ESMTP id AE28614D13 for ; Wed, 14 Jul 1999 07:45:54 -0700 (PDT) (envelope-from nick.hibma@jrc.it) Received: from elect8 (elect8.jrc.it [139.191.71.152]) by mrelay.jrc.it (LMC5692) with SMTP id QAA13126; Wed, 14 Jul 1999 16:44:50 +0200 (MET DST) Date: Wed, 14 Jul 1999 16:44:49 +0200 (MET DST) From: Nick Hibma X-Sender: n_hibma@elect8 Reply-To: Nick Hibma To: Wayne Cuddy Cc: FreeBSD Hackers List Subject: Re: changing argv[0] after fork() In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In C, change argv. Be carefull to not write any strings that are longer then the space available, or replace the pointers. Nick On Wed, 14 Jul 1999, Wayne Cuddy wrote: > I have a process that forks several times, I want to change the names that the > child processes appear as in the process table. Is there a trick to doing > this? > > Thanks, > Wayne > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > > -- ISIS/STA, T.P.270, Joint Research Centre, 21020 Ispra, Italy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message