Sort errors. Improve markup.

This commit is contained in:
wiz 2016-03-20 20:09:49 +00:00
parent 533b5973e2
commit 1b0989ebef
1 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: ktrace.2,v 1.20 2016/03/19 17:15:13 dholland Exp $
.\" $NetBSD: ktrace.2,v 1.21 2016/03/20 20:09:49 wiz Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@ -139,7 +139,7 @@ bytes of a
record of version
.Nm ktr_version .
The type specific records are defined in the
.Pa \*[Lt]sys/ktrace.h\*[Gt]
.Aq Pa sys/ktrace.h
include file.
.Sh RETURN VALUES
On successful completion a value of 0 is returned.
@ -150,10 +150,14 @@ is set to show the error.
.Fn ktrace
will fail if:
.Bl -tag -width ENAMETOOLONGAA
.It Bq Er ENOTDIR
A component of the path prefix is not a directory.
.It Bq Er EACCES
Search permission is denied for a component of the path prefix.
.It Bq Er EINVAL
The pathname contains a character with the high-order bit set.
.It Bq Er EIO
An I/O error occurred while reading from or writing to the file system.
.It Bq Er ELOOP
Too many symbolic links were encountered in translating the pathname.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded
.Brq Dv NAME_MAX
@ -163,12 +167,8 @@ or an entire path name exceeded
characters.
.It Bq Er ENOENT
The named tracefile does not exist.
.It Bq Er EACCES
Search permission is denied for a component of the path prefix.
.It Bq Er ELOOP
Too many symbolic links were encountered in translating the pathname.
.It Bq Er EIO
An I/O error occurred while reading from or writing to the file system.
.It Bq Er ENOTDIR
A component of the path prefix is not a directory.
.El
.Sh SEE ALSO
.Xr kdump 1 ,