Mercurial > hg > octave-kai > gnulib-hg
view lib/fchown-stub.c @ 6308:85c77359638b
(signed_type_or_expr__): Define.
(INT_STRLEN_BOUND) [__GNUC__]: Use a slightly tighter bound
for unsigned types.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Tue, 27 Sep 2005 08:40:36 +0000 |
parents | 96c32553b4c6 |
children | 8a1a9361108c |
line wrap: on
line source
#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; }