Ns_ThreadStrDup3aolserver
Memory allocation functions for threads (deprecated)
Part of Ns_ThreadAlloc(3aolserver).
Usage
#include "ns.h" void * Ns_ThreadAlloc(size_t size) void * Ns_ThreadCalloc(size_t nelem, size_t elsize) void Ns_ThreadFree(void *ptr) void * Ns_ThreadMalloc(size_t size) Ns_Pool * Ns_ThreadPool(void) void * Ns_ThreadRealloc(void *ptr, size_t size) char * Ns_ThreadStrCopy(char *str) char * Ns_ThreadStrDup(char *str)
Overview
These functions are deprecated and are actually wrappers around other functions. You should use the other functions directly.
|
A wrapper for Ns_ThreadMalloc. |
|---|---|
|
A wrapper for ns_calloc. |
|
A wrapper for ns_free. |
|
A wrapper for ns_malloc. |
|
Deprecated. Always returns a -1. |
|
A wrapper for ns_realloc. |
|
A wrapper for ns_strcopy. |
|
A wrapper for ns_strdup. |
Keywords
Releases
Unchanged in 5 releases since Debian 5.0 (Lenny).