stat: Improve last change.
[gnulib.git] / lib / fchown-stub.c
blob62b6969084a7f9c573c87a22350ace3228e99220
1 #include <config.h>
3 #include <sys/types.h>
4 #include <errno.h>
6 /* A trivial substitute for 'fchown'.
8 DJGPP 2.03 and earlier (and perhaps later) don't have 'fchown',
9 so we pretend no-one has permission for this operation. */
11 int
12 fchown (int fd, uid_t uid, gid_t gid)
14 errno = EPERM;
15 return -1;