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
|
Rev | Line | |
---|
[444] | 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 |
---|
| 11 | extern int errno; |
---|
| 12 | #include "warning.h" |
---|
| 13 | |
---|
| 14 | int |
---|
| 15 | _chown (const char *path, |
---|
| 16 | uid_t owner, |
---|
| 17 | gid_t group) |
---|
| 18 | { |
---|
| 19 | errno = ENOSYS; |
---|
| 20 | return -1; |
---|
| 21 | } |
---|
| 22 | |
---|
| 23 | stub_warning(_chown) |
---|
Note: See
TracBrowser
for help on using the repository browser.