OSDN Git Service

(split) LDP: Release pages for LDP v3.39.
[linuxjm/LDP_man-pages.git] / release / man3 / getutmp.3
1 .\" Copyright (c) 2008, Linux Foundation, written by Michael Kerrisk
2 .\"     <mtk.manpages@gmail.com>
3 .\"
4 .\" Permission is granted to make and distribute verbatim copies of this
5 .\" manual provided the copyright notice and this permission notice are
6 .\" preserved on all copies.
7 .\"
8 .\" Permission is granted to copy and distribute modified versions of this
9 .\" manual under the conditions for verbatim copying, provided that the
10 .\" entire resulting derived work is distributed under the terms of a
11 .\" permission notice identical to this one.
12 .\"
13 .\" Since the Linux kernel and libraries are constantly changing, this
14 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
15 .\" responsibility for errors or omissions, or for damages resulting from
16 .\" the use of the information contained herein.  The author(s) may not
17 .\" have taken the same level of care in the production of this manual,
18 .\" which is licensed free of charge, as they might when working
19 .\" professionally.
20 .\"
21 .\" Formatted or processed versions of this manual, if unaccompanied by
22 .\" the source, must acknowledge the copyright and authors of this work.
23 .\"
24 .\"*******************************************************************
25 .\"
26 .\" This file was generated with po4a. Translate the source file.
27 .\"
28 .\"*******************************************************************
29 .TH GETUTMP 3 2010\-09\-10 Linux "Linux Programmer's Manual"
30 .SH 名前
31 getutmp, getutmpx \- copy utmp structure to utmpx, and vice versa
32 .SH 書式
33 .nf
34 \fB#define _GNU_SOURCE\fP             /* See feature_test_macros(7) */
35 \fB#include <utmpx.h>\fP
36
37 \fB void getutmp(const struct utmpx *\fP\fIux\fP\fB, struct utmp *\fP\fIu\fP\fB);\fP
38 \fB void getutmpx(const struct utmp *\fP\fIu\fP\fB, struct utmpx *\fP\fIux\fP\fB);\fP
39 .fi
40 .SH 説明
41 The \fBgetutmp\fP()  function copies the fields of the \fIutmpx\fP structure
42 pointed to by \fIux\fP to the corresponding fields of the \fIutmp\fP structure
43 pointed to by \fIu\fP.  The \fBgetutmpx\fP()  function performs the converse
44 operation.
45 .SH 返り値
46 These functions do not return a value.
47 .SH VERSIONS
48 These functions first appeared in glibc in version 2.1.1.
49 .SH 準拠
50 These functions are nonstandard, but appear on a few other systems, such as
51 Solaris and NetBSD.
52 .SH 注意
53 .\" e.g., on Solaris, the utmpx structure is rather larger than utmp.
54 These functions exist primarily for compatibility with other systems where
55 the \fIutmp\fP and \fIutmpx\fP structures contain different fields, or the size of
56 corresponding fields differs.  On Linux, the two structures contain the same
57 fields, and the fields have the same sizes.
58 .SH 関連項目
59 \fBgetutent\fP(3), \fButmp\fP(5)