(C) 1998 AROS - The Amiga Research OS


NAME

BPTR ArpLock (name , accessmode , accessmode , , )

LOCATION
In ArpBase at offset 68

SYNOPSIS
char * name
ULONG accessmode
Lock = ArpLock("name" accessmode
d0 d1 d2

FUNCTION
This function is completely equivalent to the AmigaDOS Lock(), except that ArpLib will remember that you have opened this lock, and will UnLock() for you when you CloseLibrary(ArpBase).

INPUTS
name
- pointer to a null terminated string
accessmode
- a valid AmigaDOS access value. RESULTS A lock or NULL, if no lock.
RESULT

EXAMPLE
SEE ALSO
DOS DOCUMENTATION, FreeTaskResList, ArpAlloc(), ArpAllocEntry(), ArpClose().

NOTES

BUGS
None known.

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
28.03.1998 bergers
Some new functions.