From 8746d263e1451855025dc83dde5176cc9f1fbe3f Mon Sep 17 00:00:00 2001 From: ru Date: Wed, 18 Dec 2002 12:45:11 +0000 Subject: mdoc(7) police: "The .Fn function". --- lib/libc/i386/sys/i386_set_watch.3 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/libc/i386') diff --git a/lib/libc/i386/sys/i386_set_watch.3 b/lib/libc/i386/sys/i386_set_watch.3 index 28f2261..8f02555 100644 --- a/lib/libc/i386/sys/i386_set_watch.3 +++ b/lib/libc/i386/sys/i386_set_watch.3 @@ -44,11 +44,15 @@ .Ft int .Fn i386_set_watch "int watchnum" "unsigned int watchaddr" "int size" "int access" "struct dbreg *d" .Sh DESCRIPTION +The .Fn i386_clr_watch +function will disable the indicated watch point within the specified debug register set. .Pp +The .Fn i386_set_watch +function will set up the specified debug registers as indicated by the parameters. The .Fa watchnum @@ -76,12 +80,16 @@ they manipulate the indicated debug register set. You must use .Xr ptrace 2 to retrieve and install the debug register values for a process. .Sh RETURN VALUES +The .Fn i386_clr_watch +function returns 0 on success, or -1 if .Fa watchnum is invalid (not in the range of 0-3). .Pp +The .Fn i386_set_watch +function will return the .Fa watchnum argument, or the watchnum actually used in the case that -- cgit v1.1