ACL_GET_PERMSET(3) | FreeBSD Library Functions Manual | ACL_GET_PERMSET(3) |
名称
acl_get_permset — ACL エントリからパーミッションセットを検索して取り出すライブラリ
Standard C Library (libc, -lc)書式
#include < sys/types.h>#include < sys/acl.h>
int
acl_get_permset( acl_entry_t entry_d, acl_permset_t *permset_p);
解説
acl_get_permset() 関数は、ACL エントリ entry_d 中のパーミッションセットへの記述子を permset_p を通して返す POSIX.1e 呼び出しです。返されたパーミッションセットを使用するその後の操作は ACL エントリ中のパーミッションセットで操作します。戻り値
The acl_get_permset() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate the error.エラー
acl_get_permset() 関数は、次の場合に失敗します:- [ EINVAL]
- 引数 entry_d は、ACL エントリのための有効な記述子ではありません。
関連項目
acl(3), acl_add_perm(3), acl_clear_perms(3), acl_delete_perm(3), acl_set_permset(3), posix1e(3)規格
POSIX.1e は、IEEE の POSIX.1e の草案の 17 に記述されています。歴史
POSIX.1e のサポートは、 FreeBSD 4.0 で導入されました。 acl_get_permset() 関数は、 FreeBSD 5.0 で追加されました。作者
acl_get_permset() 関数は、 <jedgar@fxp.org>によって書かれました。March 10, 2001 | FreeBSD |