aboutsummaryrefslogtreecommitdiffstats
path: root/ports/unix/guts/chown.c
blob: 69bef7952e6f14e64ba970d01a9c7e0ba21d90c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* 
 * Copyright (c) 2008-2010 Wind River Systems; see
 * guts/COPYRIGHT for information.
 *
 * SPDX-License-Identifier: LGPL-2.1-only
 *
 * 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;
 * }
 */