Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!styx!ames!ucbcad!ucbvax!CORY.BERKELEY.EDU!dillon From: dillon@CORY.BERKELEY.EDU (Matt Dillon) Newsgroups: comp.sys.amiga Subject: Re: Garbage in argv[] w/Lattice C (and arg limits) Message-ID: <8612011757.AA11780@cory.Berkeley.EDU> Date: Mon, 1-Dec-86 12:57:20 EST Article-I.D.: cory.8612011757.AA11780 Posted: Mon Dec 1 12:57:20 1986 Date-Received: Mon, 1-Dec-86 20:37:20 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: University of California at Berkeley Lines: 10 >For the momenet. I'm going to assume that in this specialized case >that either 0x00 or 0xff can be a valid string terminator. Is >there a better way to do it? In C, the string terminator is always and forever will be \0. The problem is with the startup code which translates the non-standard CLI string to an argv[] list. I also believe the CLI command line has a length associated with it???? why not use that? -Matt