(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/dos.h>

BOOL ChangeMode (type , object , newmode)

LOCATION
In DOSBase at offset 75

SYNOPSIS
ULONG type
BPTR object
ULONG newmode

FUNCTION
Try to change the mode used by a lock or filehandle.

INPUTS
type
CHANGE_FH or CHANGE_LOCK.
object
Filehandle or lock.
newmode
New mode (see <dos/dos.h>).

RESULT
!=0 if all went well, 0 else. IoErr() gives additional information in that case.

EXAMPLE

SEE ALSO

NOTES
Since filehandles and locks are identical under AROS the type argument is ignored.

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
06.12.1997 srittau
The mode flags for Open() and Lock() (MODE_#? and ACCESS_#?) were not converted to new filsystem flags (FMF_#?).
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.
11.09.1996 digulla
A couple of new DOS functions from M. Fleischer