OpenOCD
replacements.c File Reference
Include dependency graph for replacements.c:

Go to the source code of this file.

Macros

#define IN_REPLACEMENTS_C
 

Functions

void * clear_malloc (size_t size)
 
void * fill_malloc (size_t size)
 
char * strndup (const char *s, size_t n)
 
size_t strnlen (const char *s, size_t maxlen)
 

Macro Definition Documentation

◆ IN_REPLACEMENTS_C

#define IN_REPLACEMENTS_C

Definition at line 19 of file replacements.c.

Function Documentation

◆ clear_malloc()

void* clear_malloc ( size_t  size)

Definition at line 30 of file replacements.c.

References size.

◆ fill_malloc()

void* fill_malloc ( size_t  size)

Definition at line 38 of file replacements.c.

References size.

◆ strndup()

char* strndup ( const char *  s,
size_t  n 
)

◆ strnlen()

size_t strnlen ( const char *  s,
size_t  maxlen 
)

Definition at line 107 of file replacements.c.

Referenced by adapter_usb_location_equal(), and strndup().