2005-12-01 00:43:57 +01:00
|
|
|
/*
|
|
|
|
* Stub version of chown.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
#include <_ansi.h>
|
|
|
|
#include <_syslist.h>
|
|
|
|
#include <errno.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
#undef errno
|
|
|
|
extern int errno;
|
|
|
|
#include "warning.h"
|
|
|
|
|
|
|
|
int
|
2017-12-04 04:43:30 +01:00
|
|
|
_chown (const char *path,
|
2017-12-04 02:31:41 +01:00
|
|
|
uid_t owner,
|
2005-12-01 00:43:57 +01:00
|
|
|
gid_t group)
|
|
|
|
{
|
|
|
|
errno = ENOSYS;
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
stub_warning(_chown)
|