summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-12-29 05:00:13 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-12-29 05:00:13 +0000
commit6f2b2125447bbb7304c6f756d89da20e0f8af839 (patch)
treebc8c4e3893e19401450bb330ee342448c10ff95c /lib/libc/sys
parent2e1b360b264d403465d3ce84bc05690d308ef9ac (diff)
profil(2) first appeared in fifth edition
tuhs/Distributions/Research/Dennis_v4/v4man.tar.gz has manx/profil.2 but no man2/profil.2 the nsys sysent.c has '&nullsys, /* 44 = prof */' https://minnie.tuhs.org/cgi-bin/utree.pl?file=V4/nsys/ken/sysent.c profil(2) is first listed as v5 in the Combined Tables of Contents from McIlroy's A Research UNIX Reader. https://marc.info/?l=tuhs&m=158099986005023&w=2 and is present in tuhs/Distributions/Research/Dennis_v5/v5man.pdf ok schwarze@
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/profil.211
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/libc/sys/profil.2 b/lib/libc/sys/profil.2
index a9876636ce3..46dea31d331 100644
--- a/lib/libc/sys/profil.2
+++ b/lib/libc/sys/profil.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: profil.2,v 1.10 2015/09/10 17:55:21 schwarze Exp $
+.\" $OpenBSD: profil.2,v 1.11 2022/12/29 05:00:12 jsg Exp $
.\" $NetBSD: profil.2,v 1.3 1995/11/22 23:07:23 cgd Exp $
.\"
.\" Copyright (c) 1993
@@ -33,7 +33,7 @@
.\"
.\" @(#)profil.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: September 10 2015 $
+.Dd $Mdocdate: December 29 2022 $
.Dt PROFIL 2
.Os
.Sh NAME
@@ -110,8 +110,11 @@ contains an invalid address.
.El
.Sh SEE ALSO
.Xr gprof 1
-.\" .Sh HISTORY
-.\" wish I knew... probably v7.
+.Sh HISTORY
+The
+.Fn profil
+system call first appeared in
+.At v5 .
.Sh BUGS
This routine should be named
.Fn profile .