source:
trunk/essentials/app-arch/tar/lib/fchown-stub.c
Last change on this file was 3342, checked in by , 18 years ago | |
---|---|
File size: 309 bytes |
Line | |
---|---|
1 | #include <config.h> |
2 | |
3 | #include <sys/types.h> |
4 | #include <errno.h> |
5 | |
6 | /* A trivial substitute for `fchown'. |
7 | |
8 | DJGPP 2.03 and earlier (and perhaps later) don't have `fchown', |
9 | so we pretend no-one has permission for this operation. */ |
10 | |
11 | int |
12 | fchown (int fd, uid_t uid, gid_t gid) |
13 | { |
14 | errno = EPERM; |
15 | return -1; |
16 | } |
Note:
See TracBrowser
for help on using the repository browser.