summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2023-02-23 01:34:28 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2023-02-23 01:34:28 +0000
commitce6630c9fc2552d3c1dbf1844bd30d550acc6ad8 (patch)
tree7f61ec64cc4524e0ccbcd0a4cd0af0d2dac8574b /lib
parent163eeecb114a200791eb8282d2d4cbc3b769ab2e (diff)
adjust documentation for ktrace.h changes. utrace() is now easier to use
ok guenther
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/ktrace.26
-rw-r--r--lib/libc/sys/utrace.26
2 files changed, 4 insertions, 8 deletions
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"