MicrOS
strlen.c File Reference
#include "../string.h"

Functions

size_t strlen (const char *str)
 Get string length. More...
 

Function Documentation

◆ strlen()

size_t strlen ( const char *  str)

Get string length.

Returns the length of the C string str. The length of a C string is determined by the terminating null-character.

Parameters
strC string.
Returns
The length of string.