projects
/
pspp
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Use a consistent style for including <config.h>.
[pspp]
/
lib
/
fchown-stub.c
1
#ifdef HAVE_CONFIG_H
2
# include <config.h>
3
#endif
4
#include <sys/types.h>
5
#include <errno.h>
6
7
/* A trivial substitute for `fchown'.
8
9
DJGPP 2.03 and earlier (and perhaps later) don't have `fchown',
10
so we pretend no-one has permission for this operation. */
11
12
int
13
fchown (int fd, uid_t uid, gid_t gid)
14
{
15
errno = EPERM;
16
return -1;
17
}