diff options
Diffstat (limited to 'ports/unix/guts/chown.c')
-rw-r--r-- | ports/unix/guts/chown.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ports/unix/guts/chown.c b/ports/unix/guts/chown.c new file mode 100644 index 0000000..4fcbdda --- /dev/null +++ b/ports/unix/guts/chown.c @@ -0,0 +1,14 @@ +/* + * Copyright (c) 2008-2010 Wind River Systems; see + * guts/COPYRIGHT for information. + * + * static int + * wrap_chown(const char *path, uid_t owner, gid_t group) { + * int rc = -1; + */ + + rc = wrap_fchownat(AT_FDCWD, path, owner, group, 0); + +/* return rc; + * } + */ |