---
name: "strnlen"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/strnlen/9"
---

# strnlen(9)

Find the length of a length-limited string

## NAME

strnlen - Find the length of a length-limited string

## SYNOPSIS

**size\_t strnlen(const char \*** *s***, size\_t** *count***);**

## ARGUMENTS

*s*

The string to be sized

*count*

The maximum number of bytes to search

## COPYRIGHT
