---
name: "str_len"
section: "3diet"
platform: "linux"
package: "libowfat-dev"
version: "0.28-2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/str_len/3diet"
---

# str\_len(3diet)

find length of ASCIIZ string

## NAME

str\_len - find length of ASCIIZ string

## SYNTAX

**#include \<str.h\>**

size\_t **str\_len**(const char\* *string*);

## DESCRIPTION

str\_len returns the index of the first occurrance of \\0 in *string*.

## SEE ALSO

[strlen(3)](/strlen/3.md)
