summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2010-05-24 21:27:26 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2010-05-24 21:27:26 +0000
commit3d1114a15e5bc07adfba985edf2cd5f9c41ec449 (patch)
treeeb5bec2a1ee866e1cb0f2eb28d89b0c0f5526da9
parent7981d0a60d42ce13b2507f247abee1bccefd09b0 (diff)
Add HISTORY section, mostly for strnlen() but include strlen() for
completeness (verified).
-rw-r--r--lib/libc/string/strlen.313
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/libc/string/strlen.3 b/lib/libc/string/strlen.3
index e1fde3e6793..3607fde5155 100644
--- a/lib/libc/string/strlen.3
+++ b/lib/libc/string/strlen.3
@@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: strlen.3,v 1.8 2010/05/19 06:32:43 jmc Exp $
+.\" $OpenBSD: strlen.3,v 1.9 2010/05/24 21:27:25 millert Exp $
.\"
-.Dd $Mdocdate: May 19 2010 $
+.Dd $Mdocdate: May 24 2010 $
.Dt STRLEN 3
.Os
.Sh NAME
@@ -91,3 +91,12 @@ and
.Fn strnlen
functions conform to
.St -p1003.1-2008 .
+.Sh HISTORY
+The
+.Fn strlen
+function first appeared in
+.At v7 .
+The
+.Fn strnlen
+function first appeared in
+.Ox 4.8 .