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