Debian Codegraph @

liblastlog2/man/ll2_unref_context.3.adoc

raw
1 //po4a: entry man manual
2 = ll2_unref_context(3)
3 :doctype: manpage
4 :man manual: Programmer's Manual
5 :man source: util-linux {release-version}
6 :page-layout: base
7 :lib: liblastlog2
8 :firstversion: 2.40
9
10 == NAME
11
12 ll2_unref_context - Frees lastlog2 context.
13
14 == SYNOPSIS
15
16 *#include <lastlog2.h>*
17
18 *context * ll2_unref_context(ll2_context *context);
19
20 == DESCRIPTION
21
22 Frees lastlog2 context, which has been allocated by
23 _ll2_new_context_.
24
25 --------------------------------------
26
27 const char *db_path = "/var/lib/lastlog/lastlog2.db";
28 ll2_context *context = ll2_new_context(db_path);
29
30 /* other lastlog2 calls..... */
31
32 ll2_unref_context(context);
33
34 --------------------------------------
35
36 == AUTHORS
37
38 mailto:[email protected][Thorsten Kukuk]
39
40 == SEE ALSO
41
42 *lastlog2*(3),
43 *ll2_new_context*(3),
44 *ll2_read_all*(3),
45 *ll2_write_entry*(3),
46 *ll2_read_entry*(3),
47 *ll2_remove_entry*(3),
48 *ll2_update_login_time*(3),
49 *ll2_import_lastlog*(3)
50
51 include::man-common/bugreports.adoc[]
52
53 include::man-common/footer-lib.adoc[]
54
55 ifdef::translation[]
56 include::man-common/translation.adoc[]
57 endif::[]