Mercurial > hg > octave-nkf > gnulib-hg
view lib/fchown-stub.c @ 17814:f50001a9c124
autoupdate
author | Karl Berry <karl@freefriends.org> |
---|---|
date | Wed, 03 Dec 2014 07:04:40 -0800 |
parents | 18a38c9615f0 |
children |
line wrap: on
line source
#include <config.h> #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; }