Article View: comp.sys.amiga.tech
Article #9290Re: Pathname Comparison
From: Stephen R. Walton
Date: Thu, 14 Jul 1988 18:15
Date: Thu, 14 Jul 1988 18:15
10 lines
1011 bytes
1011 bytes
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
Technical Details
Message-ID:
<1281@csuna.UUCP>Path:
arc1-ca.pugleaf.net!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!acphssrwReferences:
<483@amanpt1.zone1.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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