CARME-M4 BSP  V1.5
String functions

String functions. More...

+ Collaboration diagram for String functions:

Functions

static void mem_cpy (void *dst, const void *src, UINT cnt)
 Copy memory to memory. More...
 
static void mem_set (void *dst, int val, UINT cnt)
 Fill memory. More...
 
static int mem_cmp (const void *dst, const void *src, UINT cnt)
 Compare memory to memory. More...
 
static int chk_chr (const char *str, int chr)
 Check if chr is contained in the string. More...
 

Detailed Description

String functions.

Function Documentation

static int chk_chr ( const char *  str,
int  chr 
)
static

Check if chr is contained in the string.

Parameters
strSearch string
chrPattern to search
Returns
0 if chr isn't contained in the string

Definition at line 662 of file ff.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int mem_cmp ( const void *  dst,
const void *  src,
UINT  cnt 
)
static

Compare memory to memory.

Parameters
dstDestination string
srcSource string
cntCount of bytes
Returns
0 if memories are the same

Definition at line 647 of file ff.c.

static void mem_cpy ( void *  dst,
const void *  src,
UINT  cnt 
)
static

Copy memory to memory.

Parameters
dstDestination string
srcSource string
cntCount of bytes

Definition at line 612 of file ff.c.

static void mem_set ( void *  dst,
int  val,
UINT  cnt 
)
static

Fill memory.

Parameters
dstMemory buffer
srcValue to fill in
cntCount of bytes

Definition at line 633 of file ff.c.

+ Here is the caller graph for this function: