Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bionet!apple!motcsd!hpda!hpcupt1!hpisod2!decot From: decot@hpisod2.HP.COM (Dave Decot) Newsgroups: comp.unix.wizards Subject: Re: system 5 vrs. bsd4.3 question Message-ID: <14020068@hpisod2.HP.COM> Date: 20 Jul 89 10:21:47 GMT References: <28398@beta.lanl.gov> Organization: Hewlett Packard, Cupertino Lines: 18 Replace: main(argc, argv) int argc; char *argv[]; with main(argc, argv, envp) int argc; char *argv[], *envp[]; and your troubles should go away. It is likely that the exec(2) page in your SGI documentation has the explanation of envp. Sounds like SGI has an unusual argument passing method. Dave