newlib/libgloss/libnosys/chown.c
Jeff Johnston 32e616339a 2005-11-30 Shaun Jackman <sjackman@gmail.com>
* libnosys/Makefile.in (OBJS): Add chown, readlink, and symlink.
        * libnosys/chown.c: New file.
        * libnosys/readlink.c: New file.
        * libnosys/symlink.c: New file.
2005-11-30 23:43:57 +00:00

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)