Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
string.h File Reference
#include <stddef.h>
#include <bits/restrict.h>

Go to the source code of this file.

Functions

char * strcpy (char *_MLIBC_RESTRICT d, const char *_MLIBC_RESTRICT s)
 
char * strncpy (char *_MLIBC_RESTRICT d, const char *_MLIBC_RESTRICT 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 *_MLIBC_RESTRICT dest, const char *_MLIBC_RESTRICT src)
 
char * strncat (char *_MLIBC_RESTRICT dest, const char *_MLIBC_RESTRICT 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)
 
voidmemmove (void *d, const void *s, size_t n)
 
voidmemcpy (void *_MLIBC_RESTRICT d, const void *_MLIBC_RESTRICT s, size_t n)
 
voidmemset (void *buf, int c, size_t n)
 
voidmemchr (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 *_MLIBC_RESTRICT  d,
const void *_MLIBC_RESTRICT  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 *_MLIBC_RESTRICT  dest,
const char *_MLIBC_RESTRICT  src 
)

◆ strchr()

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

◆ strcmp()

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

◆ strcpy()

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

◆ strcspn()

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

◆ strlen()

size_t strlen ( const char *  s)

◆ strncat()

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

◆ strncmp()

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

◆ strncpy()

char * strncpy ( char *_MLIBC_RESTRICT  d,
const char *_MLIBC_RESTRICT  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 
)