25 lines
366 B
C
25 lines
366 B
C
|
/*
|
||
|
* 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
|
||
|
_DEFUN (_chown, (path, owner, group),
|
||
|
const char *path _AND
|
||
|
uid_t owner _AND
|
||
|
gid_t group)
|
||
|
{
|
||
|
errno = ENOSYS;
|
||
|
return -1;
|
||
|
}
|
||
|
|
||
|
stub_warning(_chown)
|