Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cca!mirror!datacube!ftw From: ftw@datacube.UUCP Newsgroups: comp.lang.c Subject: Re: system call in C Message-ID: <102600024@datacube> Date: Tue, 17-Nov-87 10:10:00 EST Article-I.D.: datacube.102600024 Posted: Tue Nov 17 10:10:00 1987 Date-Received: Sat, 21-Nov-87 01:37:16 EST References: <549@speedy.mcnc.UUCP> Lines: 29 Nf-ID: #R:speedy.mcnc.UUCP:-54900:datacube:102600024:000:564 Nf-From: datacube.UUCP!ftw Nov 17 10:10:00 1987 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