aboutsummaryrefslogtreecommitdiff
path: root/libgloss/libnosys/chown.c
blob: faea82be8ac6d9212e0f844c3d2975edc30f71d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * 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
_chown (const char *path,
        uid_t owner,
        gid_t group)
{
  errno = ENOSYS;
  return -1;
}

stub_warning(_chown)