File: updwtmp.3

package info (click to toggle)
manpages-ja 0.5.0.0.20050315-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 18,620 kB
  • ctags: 4
  • sloc: sh: 12,675; perl: 157; makefile: 106
file content (66 lines) | stat: -rw-r--r-- 2,225 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
.\" WORD: current process ID	ץID
.\" WORD: AVAILABILITY		ѲǽʴĶ
.\" Copyright 1997 Nicol Lichtmaier <nick@debian.org>
.\" Created Wed Jul  2 23:27:34 ART 1997
.\"
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
.\"
.\" The GNU General Public License's references to "object code"
.\" and "executables" are to be interpreted as the output of any
.\" document formatting or typesetting system, including
.\" intermediate and printed output.
.\"
.\" This manual is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
.\" GNU General Public License for more details.
.\"
.\" Added info on availability, aeb, 971207
.\" Added -lutil remark, 030718
.\"
.\" Japanese Version Copyright (c) 1998 Tomoyuki NISHIOKA
.\"         all rights reserved.
.\" Translated Sat May 23 18:46:34 JST 1998
.\"         by Tomoyuki NISHIOKA <nishioka@a.tsukuba-tech.ac.jp>
.\" Updated Sun Sep 14 JST 2003 by Kentaro Shirakata <argrath@ub32.org>
.\"
.TH UPDWTMP 3  2003-07-18 "GNU" "Linux Programmer's Manual"
.SH ̾
updwtmp, logwtmp \- wtmp ե˥ȥɲä
.SH 
.nf
.B #include <utmp.h>
.sp
.BI "void updwtmp(const char *" wtmp_file ", const struct utmp *" ut );
.br
.BI "void logwtmp(const char *" line ", const char *" name ", const char *" host );
.fi
.SH 
\fBupdwtmp\fR() ϡutmp ¤
.I ut
 wtmp եɲä롣
.PP
\fBlogwtmp\fR() ϡ
.IR line ", " name ", " host ,
߻ץID  utmp ¤Τꡢ
\fBupdwtmp\fR() ƤӽФƤι¤Τutmp եɲä롣
.SH ѲǽʴĶ
glibc2 βǤϤɤδؿѲǽǤ롣
libc5 βǤϤɤȤʤ
.B logwtmp
ϸŤ libbsd ˤä
ǶǤϡ
.B logwtmp
ؿ libutil ˴ޤޤƤ롣
(äơδؿȤˤϥѥΥޥɥ饤
.B \-lutil
ɲäɬפ롣)
.SH ե
.TP
.I /var/log/wtmp
桼ǡ١
.SH Ϣ
.BR wtmp (5)