summaryrefslogtreecommitdiff
path: root/man5/utmp.5
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-12-19 06:57:44 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-12-19 06:57:44 +0000
commit088a639be38030f6b6bfd344fb30636a85b207a4 (patch)
treefeabf70c32c723e8a8abbaa37cebedeb93003c28 /man5/utmp.5
parentcfadad462c81964b85b0c5c3eac79bbe50aa364e (diff)
Make the standard indent for code samples, shell session
logs, etc. to be ".in +4n".
Diffstat (limited to 'man5/utmp.5')
-rw-r--r--man5/utmp.510
1 files changed, 5 insertions, 5 deletions
diff --git a/man5/utmp.5 b/man5/utmp.5
index ef1ab82f..c4dcc451 100644
--- a/man5/utmp.5
+++ b/man5/utmp.5
@@ -50,7 +50,7 @@ writable to any user.
The file is a sequence of entries with the following structure declared
in the include file (note that this is only one of several definitions
around; details depend on the version of libc):
-.in +3
+.in +4n
.nf
.sp
.ta 3i
@@ -207,16 +207,16 @@ This allows data files and shared memory to be shared between
32-bit and 64-bit applications.
Since \fIut_tv\fP may not be the same as \fIstruct timeval\fP,
then instead of the call:
-.RS
+.in +4n
.nf
.sp
.ta 3i
gettimeofday((struct timeval *) &ut.ut_tv, NULL);
.fi
-.RE
+.in
the following method of setting this field is recommended:
-.RS
+.in +4n
.nf
.sp
.ta 3i
@@ -227,7 +227,7 @@ gettimeofday(&tv, NULL);
ut.ut_tv.tv_sec = tv.tv_sec;
ut.ut_tv.tv_usec = tv.tv_usec;
.fi
-.RE
+.in
.SH FILES
/var/run/utmp
.br