A few minor wording changes and a clarification about error conditions.

This commit is contained in:
bsd 2006-05-03 17:33:29 +00:00
parent 5ac8fc29a5
commit bdb4511692

View File

@ -86,24 +86,24 @@ You must use
.Xr ptrace 2
to retrieve and install the debug register values for a process.
.Sh RETURN VALUES
The
On success, the
.Fn i386_clr_watch
function
returns 0 on success, or -1 if
function returns 0.
On error, -1 returned which indicates that
.Fa watchnum
is invalid (not in the range of 0-3).
If the specified watchnum was already disabled, no error is returned.
.Pp
The
On success, the
.Fn i386_set_watch
function
will return the
function returns the
.Fa watchnum
argument, or the watchnum actually used in the case that
argument, or the watchnum actually used in the case where the specified
.Fa watchnum
is -1 on success.
On error,
was -1.
On error, the
.Fn i386_set_watch
will return -1 indicating that the watchpoint could not be set up
function returns -1 indicating that the watchpoint could not established
because either no more watchpoints are available, or
.Fa watchnum ,
.Fa size ,