| OPENPAM_GET_FEATURE(3) | Library Functions Manual | OPENPAM_GET_FEATURE(3) | 
openpam_get_feature —
#include <sys/types.h>
#include <security/pam_appl.h>
#include <security/openpam.h>
int
  
  openpam_get_feature(int
    feature, int
    *onoff);
The openpam_get_feature() function stores
    the current state of the specified feature in the variable pointed to by its
    onoff argument.
The following features are recognized:
OPENPAM_RESTRICT_SERVICE_NAMEOPENPAM_VERIFY_POLICY_FILEOPENPAM_RESTRICT_MODULE_NAMEOPENPAM_VERIFY_MODULE_FILEopenpam_get_feature() function returns one of the
  following values:
PAM_SUCCESS]PAM_BAD_FEATURE]openpam_get_feature() function is an OpenPAM
  extension.
openpam_get_feature() function and this manual page
  were developed by Dag-Erling Smørgrav
  <des@des.no>.
| February 24, 2019 | NetBSD 10.0 |