source: trunk/libs/newlib/src/libgloss/libnosys/chown.c @ 546

Last change on this file since 546 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 319 bytes
Line 
1/*
2 * Stub version of chown.
3 */
4
5#include "config.h"
6#include <_ansi.h>
7#include <_syslist.h>
8#include <errno.h>
9#include <sys/types.h>
10#undef errno
11extern int errno;
12#include "warning.h"
13
14int
15_chown (const char *path,
16        uid_t owner,
17        gid_t group)
18{
19  errno = ENOSYS;
20  return -1;
21}
22
23stub_warning(_chown)
Note: See TracBrowser for help on using the repository browser.