Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!oliveb!sun!pepper!cmcmanis From: cmcmanis%pepper@Sun.COM (Chuck McManis) Newsgroups: comp.sys.amiga.tech Subject: Re: DupLock function Message-ID: <70076@sun.uucp> Date: 26 Sep 88 05:34:59 GMT References: <218@snll-arpagw.UUCP> Sender: news@sun.uucp Reply-To: cmcmanis@sun.UUCP (Chuck McManis) Organization: Sun Microsystems, Mountain View Lines: 11 In article <218@snll-arpagw.UUCP> (Sam Paolucci) writes: >Does anybody know if DupLock returns the LOWEST file descriptor that the >process is not currently using (as the UNIX dup function)? Thanks. DupLock() does not return a "file descriptor", it returns a BCPL pointer to some memory it allocated to hold the FileLock structure. Anyway, it doesn't work in anyway like the UNIX dup() function. --Chuck McManis uucp: {anywhere}!sun!cmcmanis BIX: cmcmanis ARPAnet: cmcmanis@sun.com These opinions are my own and no one elses, but you knew that didn't you.