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
fchown(int fd,uid_t uid,gid_t gid)12 fchown (int fd, uid_t uid, gid_t gid)
13 {
14   errno = EPERM;
15   return -1;
16 }
17