(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/dos.h>

BOOL SetProtection (name , protect)

LOCATION
In DOSBase at offset 31

SYNOPSIS
STRPTR name
ULONG protect

FUNCTION

INPUTS
name
name of the file
protect
new protection bits

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

EXAMPLE

SEE ALSO

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
06.12.1997 srittau
Do not use IOFileSys->io_Args

Small changes and bugfixes

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.
21.09.1996 digulla
Hand DOSBase to DoName()
11.09.1996 digulla
A couple of new DOS functions from M. Fleischer