Use .Pa for filenames. Use .Bl/.El in FILES section. Remove unused #includes.
This commit is contained in:
parent
ae33d52efb
commit
970cd28246
@ -10,7 +10,7 @@
|
|||||||
.\" notice, this list of conditions and the following disclaimer in the
|
.\" notice, this list of conditions and the following disclaimer in the
|
||||||
.\" documentation and/or other materials provided with the distribution.
|
.\" documentation and/or other materials provided with the distribution.
|
||||||
.\" 3. All advertising materials mentioning features or use of this software
|
.\" 3. All advertising materials mentioning features or use of this software
|
||||||
.\" must display the following acknowledgement:
|
.\" must display the following acknowledgment:
|
||||||
.\" This product includes software developed by the University of
|
.\" This product includes software developed by the University of
|
||||||
.\" California, Berkeley and its contributors.
|
.\" California, Berkeley and its contributors.
|
||||||
.\" 4. Neither the name of the University nor the names of its contributors
|
.\" 4. Neither the name of the University nor the names of its contributors
|
||||||
@ -30,6 +30,7 @@
|
|||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" @(#)dmesg.8 8.1 (Berkeley) 6/5/93
|
.\" @(#)dmesg.8 8.1 (Berkeley) 6/5/93
|
||||||
|
.\" $Id$
|
||||||
.\"
|
.\"
|
||||||
.Dd June 5, 1993
|
.Dd June 5, 1993
|
||||||
.Dt DMESG 8
|
.Dt DMESG 8
|
||||||
@ -46,21 +47,24 @@
|
|||||||
displays the contents of the system message buffer.
|
displays the contents of the system message buffer.
|
||||||
.Pp
|
.Pp
|
||||||
The options are as follows:
|
The options are as follows:
|
||||||
.Bl -tag -width Ds
|
.Bl -tag -width indent
|
||||||
.It Fl M
|
.It Fl M
|
||||||
Extract values associated with the name list from the specified core
|
Extract values associated with the name list from the specified core
|
||||||
instead of the default ``/dev/kmem''.
|
instead of the default
|
||||||
|
.Pa /dev/kmem .
|
||||||
.It Fl N
|
.It Fl N
|
||||||
Extract the name list from the specified system instead of the default
|
Extract the name list from the specified system instead of the default
|
||||||
``/kernel''.
|
.Pa /kernel .
|
||||||
.El
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr syslogd 8
|
.Xr syslogd 8
|
||||||
.Sh FILES
|
.Sh FILES
|
||||||
/dev/mem
|
.Bl -tag -width /etc/kmem -compact
|
||||||
/dev/kmem
|
.It Pa /dev/mem
|
||||||
/dev/drum
|
.It Pa /dev/kmem
|
||||||
/kernel
|
.It Pa /dev/drum
|
||||||
|
.It Pa /kernel
|
||||||
|
.El
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
|
@ -42,21 +42,17 @@ static const char copyright[] =
|
|||||||
static const char sccsid[] = "@(#)dmesg.c 8.1 (Berkeley) 6/5/93";
|
static const char sccsid[] = "@(#)dmesg.c 8.1 (Berkeley) 6/5/93";
|
||||||
#endif
|
#endif
|
||||||
static const char rcsid[] =
|
static const char rcsid[] =
|
||||||
"$Id: dmesg.c,v 1.7 1997/03/29 03:32:14 imp Exp $";
|
"$Id: dmesg.c,v 1.8 1998/05/19 08:58:53 phk Exp $";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
|
||||||
#include <sys/msgbuf.h>
|
#include <sys/msgbuf.h>
|
||||||
|
|
||||||
#include <err.h>
|
#include <err.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <kvm.h>
|
#include <kvm.h>
|
||||||
#include <limits.h>
|
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#include <nlist.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <time.h>
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <vis.h>
|
#include <vis.h>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user