FreeRDP
uwac-utils.h File Reference
#include <stdlib.h>
This graph shows which files directly or indirectly include this file:

Macros

#define min(a, b)
 
#define container_of(ptr, type, member)
 
#define ARRAY_LENGTH(a)   (sizeof (a) / sizeof (a)[0])
 

Functions

voidxmalloc (size_t s)
 
static voidzalloc (size_t size)
 
voidxzalloc (size_t s)
 
char * xstrdup (const char *s)
 
voidxrealloc (char *p, size_t s)
 

Macro Definition Documentation

#define ARRAY_LENGTH (   a)    (sizeof (a) / sizeof (a)[0])
#define container_of (   ptr,
  type,
  member 
)
Value:
({ \
const __typeof__( ((type *)0)->member ) *__mptr = (ptr); \
(type *)( (char *)__mptr - offsetof(type,member) );})
void * ptr
Definition: TPCircularBuffer.h:184
#define min (   a,
 
)
Value:
({ __typeof__ (a) _a = (a); \
__typeof__ (b) _b = (b); \
_a < _b ? _a : _b; })

Function Documentation

void* xmalloc ( size_t  s)

Here is the call graph for this function:

Here is the caller graph for this function:

void* xrealloc ( char *  p,
size_t  s 
)

Here is the call graph for this function:

Here is the caller graph for this function:

char* xstrdup ( const char *  s)

Here is the call graph for this function:

Here is the caller graph for this function:

void* xzalloc ( size_t  s)

Here is the call graph for this function:

Here is the caller graph for this function:

static void* zalloc ( size_t  size)
inlinestatic

Here is the call graph for this function:

Here is the caller graph for this function: