Skip to content

strlen : character string length

#include <string.h>
size_t strlen(const char *str);
```### Description
The strlen function works out the length of the string starting at *str by counting chararacters until it reaches a NULL character.### Returns
strlen returns the character count.
---
**Authoritative source**: BUSMASTER DITA help source `strlen.dita`, compiled into `BUSMASTER.CHM` with the application.