Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4973 | right-hear | 1 | /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ |
2 | #include |
||
3 | #include |
||
4 | #include |
||
5 | #include |
||
6 | #include |
||
7 | #include |
||
8 | #include |
||
9 | |||
10 | int _chmod(const char *filename, int func, ...) |
||
11 | { |
||
12 | int i; |
||
13 | i=open(filename,O_RDONLY); |
||
14 | if(i<0) return -1; |
||
15 | close(i); |
||
16 | return 0; |
||
17 | }0)> |