Xen Test Framework
Functions
string.c File Reference
#include <xtf/libc.h>
+ Include dependency graph for string.c:

Go to the source code of this file.

Functions

size_t() strlen (const char *str)
 
size_t strnlen (const char *str, size_t max)
 
char *() strcpy (char *dst, const char *src)
 
char *() strncpy (char *dst, const char *src, size_t n)
 
int() strcmp (const char *_s1, const char *_s2)
 
int() strncmp (const char *_s1, const char *_s2, size_t n)
 
void *() memset (void *s, int c, size_t n)
 
void *() memcpy (void *_d, const void *_s, size_t n)
 
int() memcmp (const void *s1, const void *s2, size_t n)
 

Function Documentation

◆ strlen()

size_t() strlen ( const char *  str)

Definition at line 3 of file string.c.

+ Here is the call graph for this function:

◆ strnlen()

size_t strnlen ( const char *  str,
size_t  max 
)

Definition at line 13 of file string.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ strcpy()

char *() strcpy ( char *  dst,
const char *  src 
)

Definition at line 23 of file string.c.

◆ strncpy()

char *() strncpy ( char *  dst,
const char *  src,
size_t  n 
)

Definition at line 33 of file string.c.

◆ strcmp()

int() strcmp ( const char *  _s1,
const char *  _s2 
)

Definition at line 47 of file string.c.

◆ strncmp()

int() strncmp ( const char *  _s1,
const char *  _s2,
size_t  n 
)

Definition at line 59 of file string.c.

◆ memset()

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

Definition at line 68 of file string.c.

◆ memcpy()

void *() memcpy ( void *  _d,
const void *  _s,
size_t  n 
)

Definition at line 78 of file string.c.

◆ memcmp()

int() memcmp ( const void *  s1,
const void *  s2,
size_t  n 
)

Definition at line 89 of file string.c.