From: deraadt Date: Thu, 23 Feb 2023 01:34:27 +0000 (+0000) Subject: adjust documentation for ktrace.h changes. utrace() is now easier to use X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=06a07dade4f8c6360a33dfc24ee77662d485c8ed;p=openbsd adjust documentation for ktrace.h changes. utrace() is now easier to use ok guenther --- diff --git a/lib/libc/sys/ktrace.2 b/lib/libc/sys/ktrace.2 index 46af359f463..75bd466ef72 100644 --- a/lib/libc/sys/ktrace.2 +++ b/lib/libc/sys/ktrace.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ktrace.2,v 1.42 2022/12/27 17:10:06 jmc Exp $ +.\" $OpenBSD: ktrace.2,v 1.43 2023/02/23 01:34:27 deraadt Exp $ .\" $NetBSD: ktrace.2,v 1.2 1995/02/27 12:33:58 cgd Exp $ .\" .\" Copyright (c) 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)ktrace.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: December 27 2022 $ +.Dd $Mdocdate: February 23 2023 $ .Dt KTRACE 2 .Os .Sh NAME @@ -38,8 +38,6 @@ .Nd process tracing .Sh SYNOPSIS .In sys/types.h -.In sys/time.h -.In sys/uio.h .In sys/ktrace.h .Ft int .Fn ktrace "const char *tracefile" "int ops" "int trpoints" "pid_t pid" diff --git a/lib/libc/sys/utrace.2 b/lib/libc/sys/utrace.2 index d958f82357d..e412ce5b050 100644 --- a/lib/libc/sys/utrace.2 +++ b/lib/libc/sys/utrace.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: utrace.2,v 1.3 2022/02/22 03:35:36 deraadt Exp $ +.\" $OpenBSD: utrace.2,v 1.4 2023/02/23 01:34:27 deraadt Exp $ .\" $NetBSD: utrace.2,v 1.13 2008/05/02 18:38:32 martin Exp $ .\" .\" Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: February 22 2022 $ +.Dd $Mdocdate: February 23 2023 $ .Dt UTRACE 2 .Os .Sh NAME @@ -36,8 +36,6 @@ .Nd insert user record in ktrace log .Sh SYNOPSIS .In sys/types.h -.In sys/time.h -.In sys/uio.h .In sys/ktrace.h .Ft int .Fn utrace "const char *label" "void *addr" "size_t len"