Create an assign from a given name to a lock. Replaces any older assignments from that name, 0 cancels the assign completely. Do not use or free the lock after calling this function - it becomes the assign and will be freed by the system if the assign is removed.
INPUTS
name
NUL terminated name of the assign.
lock
Lock to assigned directory.
RESULT
!=0 success, 0 on failure. IoErr() gives additional information in that case. The lock is not freed on failure.
EXAMPLE
SEE ALSO
NOTES
BUGS
INTERNALS
HISTORY
20.10.1998 hkiel
Amiga Research OS
10.11.1997 turrican
Use DOSTRUE and DOSFALSE defines
05.11.1997 turrican
Documentation added
31.10.1997 turrican
Modified for new assign types
04.07.1997 srittau
Small adjustments.
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