(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/dos.h>

BPTR OpenFromLock (lock)

LOCATION
In DOSBase at offset 63

SYNOPSIS
BPTR lock

FUNCTION
Convert a lock into a filehandle. If all went well the lock will be gone. In case of an error it must still be freed.

INPUTS
lock
Lock to convert.

RESULT
New filehandle or 0 in case of an error. IoErr() will give additional information in that case.

EXAMPLE

SEE ALSO

NOTES
Since locks and filehandles in AROS are identical this function is just the (useless) identity operator and thus can never fail. It's there for compatibility to Amiga OS.

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
14.04.1997 aros
Polish
27.01.1997 ldp
Polish
09.12.1996 aros
Added empty templates for all missing functions

Moved #include's into first column

24.10.1996 aros
Use the official AROS macros over the __AROS versions.
13.08.1996 digulla
Replaced <dos/dosextens.h> by "dos_intern.h" or added "dos_intern.h" Replaced __AROS_LA by __AROS_LHA
01.08.1996 digulla
Added standard header for all files
28.07.1996 digulla
Initial revision
28.07.1996 digulla
First CVS version of AROS