added g_chown
This commit is contained in:
parent
6343a1ae3d
commit
c5b1b0fe45
@ -1195,6 +1195,14 @@ g_chmod_hex(const char* filename, int flags)
|
|||||||
#endif
|
#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 */
|
/* returns error, always zero */
|
||||||
int APP_CC
|
int APP_CC
|
||||||
|
@ -141,6 +141,8 @@ g_file_lock(int fd, int start, int len);
|
|||||||
int APP_CC
|
int APP_CC
|
||||||
g_chmod_hex(const char* filename, int flags);
|
g_chmod_hex(const char* filename, int flags);
|
||||||
int APP_CC
|
int APP_CC
|
||||||
|
g_chown(const char* name, int uid, int gid);
|
||||||
|
int APP_CC
|
||||||
g_mkdir(const char* dirname);
|
g_mkdir(const char* dirname);
|
||||||
char* APP_CC
|
char* APP_CC
|
||||||
g_get_current_dir(char* dirname, int maxlen);
|
g_get_current_dir(char* dirname, int maxlen);
|
||||||
|
Loading…
Reference in New Issue
Block a user