Zephyr API Documentation  3.7.0
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 
)

◆ memcmp()

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

◆ memcpy()

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

◆ memmove()

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

◆ memset()

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

◆ strcat()

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

◆ strchr()

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

◆ strcmp()

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

◆ strcpy()

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

◆ strcspn()

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

◆ strerror()

char * strerror ( int  errnum)

◆ strerror_r()

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

◆ strlen()

size_t strlen ( const char *  s)

◆ strncat()

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

◆ strncmp()

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

◆ strncpy()

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

◆ strnlen()

size_t strnlen ( const char *  s,
size_t  maxlen 
)

◆ strrchr()

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

◆ strspn()

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

◆ strstr()

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

◆ strtok_r()

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