libc string implementation.
More...
#include <string.h>
#include <Lazuli/common.h>
Go to the source code of this file.
|
| size_t | strlen (const char *s) |
| | Get the length of the string pointed by s.
|
| |
libc string implementation.
- Copyright
- 2020, Remi Andruccioli remi..nosp@m.andr.nosp@m.uccio.nosp@m.li@g.nosp@m.mail..nosp@m.com
This file contains the implementation of various functions declared by the standard header <string.h>.
Definition in file string.c.
◆ strlen()
| size_t strlen |
( |
const char * |
s | ) |
|
Get the length of the string pointed by s.
- Parameters
-
| s | A 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.