Annotated edit history of
logwtmp(3) version 1 showing authors affecting page license.
View with all changes included.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
UPDWTMP |
|
|
2 |
!!!UPDWTMP |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
AVAILABILITY |
|
|
7 |
FILES |
|
|
8 |
SEE ALSO |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
updwtmp, logwtmp - append an entry to the wtmp file |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
__#include |
|
|
18 |
__''wtmp_file''__, const struct utmp *__''ut''__); |
|
|
19 |
void logwtmp(const char *__''line''__, const char *__''name''__, const char *__''host''__); |
|
|
20 |
__ |
|
|
21 |
!!DESCRIPTION |
|
|
22 |
|
|
|
23 |
|
|
|
24 |
__updwtmp__() appends the utmp structure ''ut'' to the |
|
|
25 |
wtmp file. |
|
|
26 |
|
|
|
27 |
|
|
|
28 |
__logwtmp__() constructs an utmp structure using |
|
|
29 |
''line'', ''name'', ''host'', current time and |
|
|
30 |
current process id. Then it calls __updwtmp__() to append |
|
|
31 |
the structure to the utmp file. |
|
|
32 |
!!AVAILABILITY |
|
|
33 |
|
|
|
34 |
|
|
|
35 |
Both functions are available under glibc2, but not under |
|
|
36 |
libc5. However, __logwtmp__ occurs in the old |
|
|
37 |
libbsd. |
|
|
38 |
!!FILES |
|
|
39 |
|
|
|
40 |
|
|
|
41 |
''/var/log/wtmp'' |
|
|
42 |
|
|
|
43 |
|
|
|
44 |
database of past user logins |
|
|
45 |
!!SEE ALSO |
|
|
46 |
|
|
|
47 |
|
|
|
48 |
wtmp(5) |
|
|
49 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.