|
|||||||||||
|
Re: hmm
From: John-Mark Gurney <jmg(at)nike.efn.org>
Date: Thu Feb 20 1997 - 02:50:14 EST
> > > It seems a bit strange to me. Just like the first part of the line
but as someone pointed out... with a direct exec it can be otherwise... I just wrote a couple programs that proved this... here's the output: number args: 3 argv[0} len(0): argv[1} len(6): parama argv[2} len(6): paramb
basicly the program I ran did:
and dump was a program that did basicly: for(i=0;i<argc;i++) printf("argv[%d} len(%d): %s\n", i, strlen(argv[i]), argv[i]); so it is possible... and thanks for making me do the research... always helpful to learn by experience this sort of thing... :) ttyl... John-Mark
gurney_j@efn.org
Live in Peace, destroy Micro$oft, support free software, run FreeBSD (unix) Received on Wed Feb 19 23:50:40 1997 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:41:02 EDT |
||||||||||
|
|||||||||||