.\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. .\" .\" This code is derived from software contributed to Berkeley by .\" Chris Torek and the American National Standards Committee X3, .\" on Information Processing Systems. .\" .\" %sccs.include.redist.man% .\" .\" @(#)strlen.3 8.1 (Berkeley) 06/04/93 .\" .Dd .Dt STRLEN 3 .Os .Sh NAME .Nm strlen .Nd find length of string .Sh SYNOPSIS .Fd #include .Ft size_t .Fn strlen "const char *s" .Sh DESCRIPTION The .Fn strlen function computes the length of the string .Fa s . .Sh RETURN VALUES The .Fn strlen function returns the number of characters that precede the terminating .Dv NUL character. .Sh SEE ALSO .Xr string 3 .Sh STANDARDS The .Fn strlen function conforms to .St -ansiC .