Logo Search packages:      
Sourcecode: coreutils version File versions  Download package

fchown-stub.c

#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <sys/types.h>
#include <errno.h>

/* A trivial substitute for `fchown'.

   DJGPP 2.03 and earlier (and perhaps later) don't have `fchown',
   so we pretend no-one has permission for this operation. */

int
fchown (int fd, uid_t uid, gid_t gid)
{
  errno = EPERM;
  return -1;
}

Generated by  Doxygen 1.6.0   Back to index