added g_chown

ulab-original
Jay Sorg 14 years ago
parent 6343a1ae3d
commit c5b1b0fe45

@ -1195,6 +1195,14 @@ g_chmod_hex(const char* filename, int flags)
#endif
}
/*****************************************************************************/
/* 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

@ -141,6 +141,8 @@ g_file_lock(int fd, int start, int len);
int APP_CC
g_chmod_hex(const char* filename, int flags);
int APP_CC
g_chown(const char* name, int uid, int gid);
int APP_CC
g_mkdir(const char* dirname);
char* APP_CC
g_get_current_dir(char* dirname, int maxlen);

Loading…
Cancel
Save