Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!husc6!think!ames!amdcad!sun!pitstop!sundc!seismo!uunet!mcvax!eutrc3!wswietse From: wswietse@eutrc3.UUCP (Wietse Venema) Newsgroups: comp.unix.wizards Subject: Re: Finding where an executable was run Message-ID: <231@eutrc3.UUCP> Date: 20 May 88 20:38:57 GMT References: <4527@hoptoad.uucp> <-63169371@sneaky> <611@io.UUCP> Reply-To: wswietse@eutrc3.UUCP (Wietse Venema) Organization: Tech. Univ. Eindhoven, The Netherlands Lines: 10 In article <611@io.UUCP> md@marvin.UUCP (Mark Dionne) writes: >I believe system V is different from BSD: argv[0] is always >the full path name of the executable. No, with SysV, argv[0] is the command, just as in BSD. You are confusing MS-DOS with SysV UNIX. -- uucp: mcvax!eutrc3!wswietse | Eindhoven University of Technology bitnet: wswietse@heithe5 | Dept. of Mathematics and Computer Science surf: tuerc5::wswietse | Eindhoven, The Netherlands.