Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

PX_strdup — duplicate a string

Author

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

                                                                                                    PX_STRDUP(3)

Description

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

Name

       PX_strdup — duplicate a string

Return Value

       Returns pointer to string on success and NULL on failure.

See Also

PX_new2(3)

Synopsis

       #include <paradox.h>

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

See Also