(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/dos.h>

BPTR DupLock (lock)

LOCATION
In DOSBase at offset 16

SYNOPSIS
BPTR lock

FUNCTION
Clone a lock on a file or directory. This will only work on shared locks.

INPUTS
lock
Old lock.

RESULT
The new lock or NULL in case of an error. IoErr() will give additional information in that case.

EXAMPLE

SEE ALSO

NOTES
This function is identical to DupLockFromFH().

BUGS

INTERNALS

HISTORY