home *** CD-ROM | disk | FTP | other *** search
/ Scene Storm / Scene Storm - Volume 1.iso / coding / c / unix / src / chmod.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-07-19  |  140 b   |  9 lines

  1. #include "amiga.h"
  2.  
  3. int chmod(char *name, int mode)
  4. {
  5.   chkabort();
  6.   if (SetProtection(name, _make_protection(mode))) return 0;
  7.   ERROR;
  8. }
  9.