newlib-cygwin/libgloss/libnosys/chown.c

25 lines
357 B
C
Raw Normal View History

/*
* 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,
uid_t owner,
gid_t group)
{
errno = ENOSYS;
return -1;
}
stub_warning(_chown)