1.\" $NetBSD: openpam_set_option.3,v 1.8 2019/12/15 17:08:21 christos Exp $ 2.\" 3.\" Generated from openpam_set_option.c by gendoc.pl 4.\" $OpenPAM: openpam_set_option.c 938 2017-04-30 21:34:42Z des $ 5.Dd February 24, 2019 6.Dt OPENPAM_SET_OPTION 3 7.Os 8.Sh NAME 9.Nm openpam_set_option 10.Nd sets the value of a module option 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.Sh RETURN VALUES 23The 24.Fn openpam_set_option 25function returns one of the following values: 26.Bl -tag -width 18n 27.It Bq Er PAM_SUCCESS 28Success. 29.It Bq Er PAM_BUF_ERR 30Memory buffer error. 31.It Bq Er PAM_SYSTEM_ERR 32System error. 33.El 34.Sh SEE ALSO 35.Xr openpam_get_option 3 , 36.Xr pam 3 , 37.Xr pam_strerror 3 38.Sh STANDARDS 39The 40.Fn openpam_set_option 41function is an OpenPAM extension. 42.Sh AUTHORS 43The 44.Fn openpam_set_option 45function and this manual page were 46developed for the 47.Fx 48Project by ThinkSec AS and Network Associates Laboratories, the 49Security Research Division of Network Associates, Inc.\& under 50DARPA/SPAWAR contract N66001-01-C-8035 51.Pq Dq CBOSS , 52as part of the DARPA CHATS research program. 53.Pp 54The OpenPAM library is maintained by 55.An Dag-Erling Sm\(/orgrav Aq Mt des@des.no . 56