libdom
Loading...
Searching...
No Matches
Functions
utils.c File Reference
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "utils.h"

Functions

void * myrealloc (void *ptr, size_t len, void *pw)
 
void mymsg (uint32_t severity, void *ctx, const char *msg,...)
 
char * domts_strndup (const char *s, size_t len)
 

Function Documentation

◆ domts_strndup()

char * domts_strndup ( const char * s,
size_t len )

◆ mymsg()

void mymsg ( uint32_t severity,
void * ctx,
const char * msg,
... )

◆ myrealloc()

void * myrealloc ( void * ptr,
size_t len,
void * pw )