Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ames!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!sdcrdcf!csun!csuna!acphssrw From: acphssrw@csuna.UUCP (Stephen R. Walton) Newsgroups: comp.sys.amiga.tech Subject: Re: Pathname Comparison Summary: Try the Arp CompareLock() function Keywords: function, C, help Message-ID: <1281@csuna.UUCP> Date: 14 Jul 88 18:15:17 GMT References: <483@amanpt1.zone1.com> Reply-To: acphssrw@csuna.UUCP (Stephen R. Walton) Organization: California State University, Northridge Lines: 9 In article <483@amanpt1.zone1.com>, Mark Rinfret asks about comparing two path names for equality. If you can get Lock()'s on both of them, the ARP V1.1 CompareLock() function will do this for you. Its prototype is: int CompareLock(BPTR Lock1, BPTR Lock2); and it returns 0 if the locks point to the same object, 1 if they don't. Stephen Walton, representing myself swalton@solar.stanford.edu Cal State, Northridge rckg01m@calstate.BITNET