acl/lib_acl/include/stdlib/unix/acl_set_eugid.h

31 lines
492 B
C
Raw Normal View History

2014-11-19 00:25:21 +08:00
#ifndef ACL_SET_EUGID_INCLUDE_H
#define ACL_SET_EUGID_INCLUDE_H
#ifdef __cplusplus
extern "C" {
#endif
#include "../acl_define.h"
#ifdef ACL_UNIX
#include <sys/types.h>
#include <unistd.h>
/**
* <EFBFBD><EFBFBD><EFBFBD>ó<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ч<EFBFBD>û<EFBFBD> ID <EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ч<EFBFBD><EFBFBD> ID
* @param euid {uid_t} <EFBFBD><EFBFBD>Ч<EFBFBD>û<EFBFBD> ID
* @param egid {gid_t} <EFBFBD><EFBFBD>Ч<EFBFBD><EFBFBD> ID
* @return {int} 0 <EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD><EFBFBD>óɹ<EFBFBD><EFBFBD><EFBFBD>-1 <EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʧ<EFBFBD><EFBFBD>
*/
int acl_set_eugid(uid_t euid, gid_t egid);
#endif /* ACL_UNIX */
#ifdef __cplusplus
}
#endif
#endif