DOKK / manpages / debian 11 / pxlib-dev / PX_strdup.3.en
PX_STRDUP(3) Library Functions Manual PX_STRDUP(3)

PX_strdup — duplicate a string

#include <paradox.h>

char * PX_strdup(pxdoc_t *pxdoc, const char *str)

Duplicates a string like strdup(3) but uses the memory allocation function as passed to PX_new2(3).

Returns pointer to string on success and NULL on failure.

PX_new2(3)

This manual page was written by Uwe Steinmann uwe@steinmann.cx.