Blame lib/fchown-stub.c

Packit Service a2489d
#include <config.h>
Packit Service a2489d
Packit Service a2489d
#include <sys/types.h>
Packit Service a2489d
#include <errno.h>
Packit Service a2489d
Packit Service a2489d
/* A trivial substitute for 'fchown'.
Packit Service a2489d
Packit Service a2489d
   DJGPP 2.03 and earlier (and perhaps later) don't have 'fchown',
Packit Service a2489d
   so we pretend no-one has permission for this operation. */
Packit Service a2489d
Packit Service a2489d
int
Packit Service a2489d
fchown (int fd, uid_t uid, gid_t gid)
Packit Service a2489d
{
Packit Service a2489d
  errno = EPERM;
Packit Service a2489d
  return -1;
Packit Service a2489d
}