Subject: Re: command line arguments'

From: Joachim Schrod <[email-masked]>
Date: Thu, 7 Jul 1994 20:38:11 +0100 (MESZ)

You wrote:
> 
>     Date: Thu, 7 Jul 1994 12:08 CDT
>     From: Joachim Schrod <[email-masked]>
> 
>     CLISP is implemented in C. C has a defined way to pass command line
>     arguments, namely via the first two arguments of main(), canonically
>     called argc and argv.
> 
> argc and argv are UNIX conventions.

No.

main() of a C program in an `hosted environment' (i.e., not on a
toaster chip...) returns int and takes zero or two arguments.

RTFM.  	ANSI X3.159-1989 (aka ISO/IEC 9899:1990), Section 2.1.2.2.1,
	pp. 7-8.

Cheers,
	Joachim

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Joachim Schrod			Email: [email-masked]
Computer Science Department
Technical University of Darmstadt, Germany