1.\" Generated from openpam_set_option.c by gendoc.pl 2.Dd June 27, 2023 3.Dt OPENPAM_SET_OPTION 3 4.Os 5.Sh NAME 6.Nm openpam_set_option 7.Nd sets the value of a module option 8.Sh SYNOPSIS 9.In sys/types.h 10.In security/pam_appl.h 11.In security/openpam.h 12.Ft "int" 13.Fn openpam_set_option "pam_handle_t *pamh" "const char *option" "const char *value" 14.Sh DESCRIPTION 15The 16.Fn openpam_set_option 17function sets the specified option in the 18context of the currently executing service module. 19.Pp 20.Sh RETURN VALUES 21The 22.Fn openpam_set_option 23function returns one of the following values: 24.Bl -tag -width 18n 25.It Bq Er PAM_SUCCESS 26Success. 27.It Bq Er PAM_BUF_ERR 28Memory buffer error. 29.It Bq Er PAM_SYSTEM_ERR 30System error. 31.El 32.Sh SEE ALSO 33.Xr openpam_get_option 3 , 34.Xr pam 3 , 35.Xr pam_strerror 3 36.Sh STANDARDS 37The 38.Fn openpam_set_option 39function is an OpenPAM extension. 40.Sh AUTHORS 41The 42.Fn openpam_set_option 43function and this manual page were 44developed for the 45.Fx 46Project by ThinkSec AS and Network Associates Laboratories, the 47Security Research Division of Network Associates, Inc.\& under 48DARPA/SPAWAR contract N66001-01-C-8035 49.Pq Dq CBOSS , 50as part of the DARPA CHATS research program. 51.Pp 52The OpenPAM library is maintained by 53.An Dag-Erling Sm\(/orgrav Aq Mt des@des.no . 54