Module libpulse_sys::xmalloc [−][src]
Expand description
Memory allocation functions.
Functions
Allocates the specified number of bytes, just like malloc() does.
However, in case of OOM, terminate.
Same as pa_xmalloc() , but initializes allocated memory to 0.
Duplicates the specified memory block.
Same as pa_xnew() but duplicates the specified data.
The combination of pa_xmalloc() and realloc().
Duplicates the specified string, allocating memory with pa_xmalloc().
Duplicates the specified string, but truncate after l characters.