flag fields are u_int's
[unix-history] / usr / src / lib / libc / string / strlen.3
CommitLineData
b8045644
KB
1.\" Copyright (c) 1990 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Chris Torek.
6.\"
7.\" %sccs.include.redist.man%
8.\"
9.\" @(#)strlen.3 5.1 (Berkeley) %G%
10.\"
11.TH STRLEN 3 ""
12.UC 4
13.SH NAME
14strlen \- find length of string
15.SH SYNOPSIS
16.nf
17.ft B
18#include <string.h>
19
20size_t
21strlen(const char *s);
22.ft R
23.fi
24.SH DESCRIPTION
25.B Strlen
26returns the number of non-null characters in
27.IR s .
28.SH SEE ALSO
29string(3)
30.SH STANDARDS
31.B Strlen
32conforms to ANSI X3.159-1989 (``ANSI C'').