Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
string.h File Reference
#include <stddef.h>
#include <zephyr/toolchain.h>

Go to the source code of this file.

Functions

char * strcpy (char *ZRESTRICT d, const char *ZRESTRICT s)
 
char * strerror (int errnum)
 
int strerror_r (int errnum, char *strerrbuf, size_t buflen)
 
char * strncpy (char *ZRESTRICT d, const char *ZRESTRICT s, size_t n)
 
char * strchr (const char *s, int c)
 
char * strrchr (const char *s, int c)
 
size_t strlen (const char *s)
 
size_t strnlen (const char *s, size_t maxlen)
 
int strcmp (const char *s1, const char *s2)
 
int strncmp (const char *s1, const char *s2, size_t n)
 
char * strtok_r (char *str, const char *sep, char **state)
 
char * strcat (char *ZRESTRICT dest, const char *ZRESTRICT src)
 
char * strncat (char *ZRESTRICT dest, const char *ZRESTRICT src, size_t n)
 
char * strstr (const char *s, const char *find)
 
size_t strspn (const char *s, const char *accept)
 
size_t strcspn (const char *s, const char *reject)
 
int memcmp (const void *m1, const void *m2, size_t n)
 
void * memmove (void *d, const void *s, size_t n)
 
void * memcpy (void *ZRESTRICT d, const void *ZRESTRICT s, size_t n)
 
void * memset (void *buf, int c, size_t n)
 
void * memchr (const void *s, int c, size_t n)
 

Function Documentation

◆ memchr()

void * memchr ( const void * s,
int c,
size_t n )
extern

◆ memcmp()

int memcmp ( const void * m1,
const void * m2,
size_t n )
extern

◆ memcpy()

void * memcpy ( void *ZRESTRICT d,
const void *ZRESTRICT s,
size_t n )
extern

◆ memmove()

void * memmove ( void * d,
const void * s,
size_t n )
extern

◆ memset()

void * memset ( void * buf,
int c,
size_t n )
extern

◆ strcat()

char * strcat ( char *ZRESTRICT dest,
const char *ZRESTRICT src )
extern

◆ strchr()

char * strchr ( const char * s,
int c )
extern

◆ strcmp()

int strcmp ( const char * s1,
const char * s2 )
extern

◆ strcpy()

char * strcpy ( char *ZRESTRICT d,
const char *ZRESTRICT s )
extern

◆ strcspn()

size_t strcspn ( const char * s,
const char * reject )
extern

◆ strerror()

char * strerror ( int errnum)
extern

◆ strerror_r()

int strerror_r ( int errnum,
char * strerrbuf,
size_t buflen )
extern

◆ strlen()

size_t strlen ( const char * s)
extern

◆ strncat()

char * strncat ( char *ZRESTRICT dest,
const char *ZRESTRICT src,
size_t n )
extern

◆ strncmp()

int strncmp ( const char * s1,
const char * s2,
size_t n )
extern

◆ strncpy()

char * strncpy ( char *ZRESTRICT d,
const char *ZRESTRICT s,
size_t n )
extern

◆ strnlen()

size_t strnlen ( const char * s,
size_t maxlen )
extern

◆ strrchr()

char * strrchr ( const char * s,
int c )
extern

◆ strspn()

size_t strspn ( const char * s,
const char * accept )
extern

◆ strstr()

char * strstr ( const char * s,
const char * find )
extern

◆ strtok_r()

char * strtok_r ( char * str,
const char * sep,
char ** state )
extern