Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 1999 16:44:49 +0200 (MET DST)
From:      Nick Hibma <nick.hibma@jrc.it>
To:        Wayne Cuddy <wayne@crb-web.com>
Cc:        FreeBSD Hackers List <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: changing argv[0] after fork()
Message-ID:  <Pine.GSO.3.95q.990714164422.6764m-100000@elect8>
In-Reply-To: <Pine.LNX.3.95.990714101404.9360B-100000@crb.crb-web.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.95q.990714164422.6764m-100000>