コード例 #1
0
/*
 * Generate a text version of the ACL.  The flags parameter controls
 * the style of the generated ACL.
 */
const wchar_t *
archive_entry_acl_text_w(struct archive_entry *entry, int flags)
{
	const wchar_t *r;
	r = archive_acl_text_w(entry->archive, &entry->acl, flags);
	if (r == NULL && errno == ENOMEM)
		__archive_errx(1, "No memory");
	return (r);
}
コード例 #2
0
ファイル: archive_entry.c プロジェクト: 151706061/CMake
/*
 * Generate a text version of the ACL.  The flags parameter controls
 * the style of the generated ACL.
 */
const wchar_t *
archive_entry_acl_text_w(struct archive_entry *entry, int flags)
{
	return archive_acl_text_w(entry->archive, &entry->acl, flags);
}