2005-12-01 07:43:57 +08: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 11:43:30 +08:00
|
|
|
_chown (const char *path,
|
2017-12-04 09:31:41 +08:00
|
|
|
uid_t owner,
|
2005-12-01 07:43:57 +08:00
|
|
|
gid_t group)
|
|
|
|
{
|
|
|
|
errno = ENOSYS;
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
stub_warning(_chown)
|