source:
trunk/minix/lib/posix/_chmod.c@
11
      
      | Last change on this file since 11 was 9, checked in by , 14 years ago | |
|---|---|
| File size: 221 bytes | |
| Line | |
|---|---|
| 1 | #include <lib.h> | 
| 2 | #define chmod _chmod | 
| 3 | #include <sys/stat.h> | 
| 4 | |
| 5 | PUBLIC int chmod(name, mode) | 
| 6 | _CONST char *name; | 
| 7 | _mnx_Mode_t mode; | 
| 8 | { | 
| 9 | message m; | 
| 10 | |
| 11 | m.m3_i2 = mode; | 
| 12 | _loadname(name, &m); | 
| 13 | return(_syscall(FS, CHMOD, &m)); | 
| 14 | } | 
  Note:
 See   TracBrowser
 for help on using the repository browser.
    
