Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Aug 2000 16:00:53 -0700 (PDT)
From:      Chris Ptacek <ptacek@uranium.dashmail.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Changing the name of the progam seen by ps etc
Message-ID:  <Pine.BSF.4.21.0008291553080.83498-100000@uranium.dashmail.net>

next in thread | raw e-mail | index | archive | help
I have a program that changes the name seen by the ps
command by doing a strcpy(argv[0], "NAME") ;  This has
worked up until we tried it on FreeBSD 4.1.  Is there
a better way we should be doing this?  Thanks for any
help.

  - Chris



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0008291553080.83498-100000>