repo.or.cz
/
gnulib.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
stat: Improve last change.
[gnulib.git]
/
lib
/
fchown-stub.c
blob
62b6969084a7f9c573c87a22350ace3228e99220
1
#include <config.h>
2
3
#include <sys/types.h>
4
#include <errno.h>
5
6
/* A trivial substitute for 'fchown'.
7
8
DJGPP 2.03 and earlier (and perhaps later) don't have 'fchown',
9
so we pretend no-one has permission for this operation. */
10
11
int
12
fchown
(
int
fd
,
uid_t uid
,
gid_t gid
)
13
{
14
errno
=
EPERM
;
15
return
-
1
;
16
}