[comp.sys.amiga.tech] DupLock function

paolucci@snll-arpagw.UUCP (Sam Paolucci) (09/24/88)

Does anybody know if DupLock returns the LOWEST file descriptor that the
process is not currently using (as the UNIX dup function)?  Thanks.
-- 
					-+= SAM =+-
"the best things in life are free"

				ARPA: paolucci@snll-arpagw.llnl.gov

cmcmanis%pepper@Sun.COM (Chuck McManis) (09/26/88)

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.