modifying parent's environment, etc.

James Logan III logan at vsedev.VSE.COM
Tue Apr 25 22:15:17 AEST 1989


In article <2158 at pur-phy> sho at newton.physics.purdue.edu.UUCP
(Sho Kuwamoto) writes:
# This thread got me to thinking.  I wrote a quickie program which,
# for reasons I don't need to go into now, modified argv[i].  The
# strangest thing happened: if you run it in the background and look
# at it using ps, the line where it tells you what you typed in as
# your command line changes.  I'm interested to know if this works
# on all versions of UNIX.  Compile the following, run it in the
# background, and do a PS.  Over here, we are running BSD 4.3.

I tried it under System V Release 2.  It doesn't work.

			-Jim

-- 
Jim Logan                           logan at vsedev.vse.com
VSE Software Development Lab        uucp:  ..!uunet!vsedev!logan
(703) 329-4654                      inet:  logan%vsedev.vse.com at uunet.uu.net



More information about the Comp.lang.c mailing list