[comp.lang.c] system call in C

ftw@datacube.UUCP (11/17/87)

Transposing the formal parameters is just one problem with the posted
example.  There is another one.  The original example looked something
like this:

main(argv, argc)
char argv[];
int argc;
{
	.
	.
	.
}

The declaration for argv was also incorrect.  For the record, it should read:

main(argc, argv)
int argc;
char *argv[];

etc.


				Farrell T. Woods 

Datacube Inc. Systems / Software Group	4 Dearborn Rd. Peabody, Ma 01960
VOICE:	617-535-6644;	FAX: (617) 535-5643;  TWX: (710) 347-0125
INTERNET: ftw@datacube.COM
UUCP: {rutgers, ihnp4, mirror}!datacube!ftw