1 //po4a: entry man manual
4 :man manual: Programmer's Manual
5 :man source: util-linux {release-version}
12 ll2_remove_entry - Remove all entries of an user.
16 *#include <lastlog2.h>*
18 *int ll2_remove_entry (struct ll2_context *__context__, const char *__user__,
23 Removing all database entries, defined in _context_, with the user name _user_.
24 If _context_ is NULL, the default database, defined in _LL2_DEFAULT_DATABASE_,
27 --------------------------------------
29 const char *user = "root";
31 int ret = ll2_remove_entry (NULL, user, &error);
32 --------------------------------------
36 Returns 0 on success, -ENOMEM or -1 on other failure.
37 _error_ contains an error string if the return value is -1.
38 _error_ is not guaranteed to contain an error string, could also be NULL.
39 _error_ should be freed by the caller.
43 Thorsten Kukuk (kukuk@suse.de)
49 *ll2_unref_context(3),
53 *ll2_update_login_time*(3),
55 *ll2_import_lastlog*(3)
57 include::man-common/bugreports.adoc[]
59 include::man-common/footer-lib.adoc[]
62 include::man-common/translation.adoc[]