# $EPIC: chmod.txt,v 1.3 2007/03/02 02:32:04 jnelson Exp $
The <file> argument is a dword which is different from most functions.
This function provides an interface to the Unix system call chmod(2). It applies the given mode to the file specified. Refer to your Unix system manual for more information (usually “man 2 chmod”). The mode must be in numeric format.
This function is used to change the access permissions on a given file. A discussion of Unix file permissions is beyond the scope of this document; refer to your system's manual page for chmod(1) or chmod(2).
-1 error 0 permissions changed successfully