pam_end.3 revision 1.5 1 <<<<<<< pam_end.3
2 .\" $NetBSD: pam_end.3,v 1.5 2014/10/24 18:17:56 christos Exp $
3 .\"
4 =======
5 >>>>>>> 1.1.1.4
6 .\" Generated from pam_end.c by gendoc.pl
7 .\" Id: pam_end.c 648 2013-03-05 17:54:27Z des
8 .Dd September 12, 2014
9 .Dt PAM_END 3
10 .Os
11 .Sh NAME
12 .Nm pam_end
13 .Nd terminate the PAM transaction
14 .Sh LIBRARY
15 .Lb libpam
16 .Sh SYNOPSIS
17 .In sys/types.h
18 .In security/pam_appl.h
19 .Ft "int"
20 .Fn pam_end "pam_handle_t *pamh" "int status"
21 .Sh DESCRIPTION
22 The
23 .Fn pam_end
24 function terminates a PAM transaction and destroys the
25 corresponding PAM context, releasing all resources allocated to it.
26 .Pp
27 The
28 .Fa status
29 argument should be set to the error code returned by the
30 last API call before the call to
31 .Fn pam_end .
32 .Sh RETURN VALUES
33 The
34 .Fn pam_end
35 function returns one of the following values:
36 .Bl -tag -width 18n
37 .It Bq Er PAM_SYSTEM_ERR
38 System error.
39 .El
40 .Sh SEE ALSO
41 .Xr pam 3 ,
42 .Xr pam_strerror 3
43 .Sh STANDARDS
44 .Rs
45 .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
46 .%D "June 1997"
47 .Re
48 .Sh AUTHORS
49 The
50 .Fn pam_end
51 function and this manual page were
52 developed for the
53 .Fx
54 Project by ThinkSec AS and Network Associates Laboratories, the
55 Security Research Division of Network Associates, Inc.\& under
56 DARPA/SPAWAR contract N66001-01-C-8035
57 .Pq Dq CBOSS ,
58 as part of the DARPA CHATS research program.
59 .Pp
60 The OpenPAM library is maintained by
61 .An Dag-Erling Sm\(/orgrav Aq des (a] des.no .
62