Lazuli
Functions
string.h File Reference

libc string header. More...

#include <Lazuli/common.h>

Go to the source code of this file.

Functions

size_t strlen (const char *s)
 Get the length of the string pointed by s. More...
 

Detailed Description

libc string header.

This file is the standard header <string.h> for the Lazuli RTOS. It contains various declarations related to strings.

Definition in file string.h.

Function Documentation

◆ strlen()

size_t strlen ( const char *  s)

Get the length of the string pointed by s.

Parameters
sA pointer to the string to get the length.
Returns
The number of characters in the string s, excluding the final NUL character.
Warning
If s points to NULL, then the return value is 0.

Definition at line 20 of file string.c.