home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / MorphOS / Epic4_mos / share / epic / help / 6_functions / chmod < prev    next >
Encoding:
Text File  |  2002-10-28  |  629 b   |  22 lines

  1. Synopsis:
  2.    $chmod(<file> <mode>)
  3.  
  4. Technical:
  5.    This function provides an interface to the Unix system call chmod(2).  It
  6.    applies the given mode to the file specified.  Refer to your Unix system
  7.    manual for more information (usually "man 2 chmod").  The mode must be in
  8.    numeric format.
  9.  
  10. Practical:
  11.    This function is used to change the access permissions on a given file.
  12.    A discussion of Unix file permissions is beyond the scope of this
  13.    document; refer to your system's manual page for chmod(1) or chmod(2).
  14.  
  15. Returns:
  16.    -1   error
  17.     0   permissions changed successfully
  18.  
  19. See Also:
  20.    umask(6)
  21.  
  22.