fsautoproc
Basic file transformation automation management utility
Loading...
Searching...
No Matches
je.c File Reference

jemalloc-related utility function implementations. More...

#include "je.h"
#include "jemalloc/jemalloc.h"
#include <stddef.h>
#include <string.h>
Include dependency graph for je.c:

Functions

char * je_strdup (const char *s)

Detailed Description

jemalloc-related utility function implementations.

Function Documentation

◆ je_strdup()

char * je_strdup ( const char * s)

Duplicates the given string s into a new dynamically allocated string using jemalloc's malloc function.

Parameters
sThe string to duplicate
Returns
A pointer to the newly allocated string, or NULL if the allocation fails.
Here is the caller graph for this function: