svcadm(1M)을 검색하려면 섹션에서 1M 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
kva_match(3c)
Standard C Library Functions kva_match(3C)
NAME
kva_match - look up a key in a key-value array
SYNOPSIS
#include <secdb.h>
char *kva_match(kva_t *kva, char *key);
DESCRIPTION
The kva_match() function searches a kva_t structure, which is part of
the authattr_t, execattr_t, profattr_t, or userattr_t structures. The
function takes two arguments: a pointer to a key value array, and a
key. If the key is in the array, the function returns a pointer to the
first corresponding value that matches that key. Otherwise, the func‐
tion returns NULL.
RETURN VALUES
Upon successful completion, the function returns a pointer to the value
sought. Otherwise, it returns NULL.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
TRIBUTE VALUE _ MT-LevelMT-Safe
SEE ALSO
getauthattr(3C), getexecattr(3C), getprofattr(3C), getuserattr(3C)
NOTES
The kva_match() function returns a pointer to data that already exists
in the key-value array. It does not allocate its own memory for this
pointer but obtains it from the key-value array that is passed as its
first argument.
Oracle Solaris 11.4 17 Aug 2018 kva_match(3C)