summaryrefslogtreecommitdiffstats
path: root/common/os_calls.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/os_calls.c')
-rw-r--r--common/os_calls.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/os_calls.c b/common/os_calls.c
index 4004fdfc..0993b650 100644
--- a/common/os_calls.c
+++ b/common/os_calls.c
@@ -1196,6 +1196,14 @@ g_chmod_hex(const char* filename, int flags)
}
/*****************************************************************************/
+/* returns error, zero is ok */
+int APP_CC
+g_chown(const char* name, int uid, int gid)
+{
+ return chown(name, uid, gid);
+}
+
+/*****************************************************************************/
/* returns error, always zero */
int APP_CC
g_mkdir(const char* dirname)