summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strlen.3
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>1999-06-04 19:14:55 +0000
committeraaron <aaron@openbsd.org>1999-06-04 19:14:55 +0000
commit828c488475bdafe8acf9260723b3b46d4a8cbc9d (patch)
tree2dfd7638a87c304a1a3721cc2e44492a07491dee /lib/libc/string/strlen.3
parentadd examples (diff)
downloadwireguard-openbsd-828c488475bdafe8acf9260723b3b46d4a8cbc9d.tar.xz
wireguard-openbsd-828c488475bdafe8acf9260723b3b46d4a8cbc9d.zip
some repairs, add example to strdup(3) page
Diffstat (limited to 'lib/libc/string/strlen.3')
-rw-r--r--lib/libc/string/strlen.37
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libc/string/strlen.3 b/lib/libc/string/strlen.3
index 99e7dd19c34..9db28cd1842 100644
--- a/lib/libc/string/strlen.3
+++ b/lib/libc/string/strlen.3
@@ -33,14 +33,14 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: strlen.3,v 1.2 1996/08/19 08:34:19 tholo Exp $
+.\" $OpenBSD: strlen.3,v 1.3 1999/06/04 19:14:56 aaron Exp $
.\"
.Dd June 29, 1991
.Dt STRLEN 3
.Os
.Sh NAME
.Nm strlen
-.Nd find length of string
+.Nd find length of a string
.Sh SYNOPSIS
.Fd #include <string.h>
.Ft size_t
@@ -57,8 +57,7 @@ The
function
returns
the number of characters that precede the
-terminating
-.Dv NUL
+terminating NUL
character.
.Sh SEE ALSO
.Xr string 3