Revision d3de3ee2
libavutil/mem.h | ||
---|---|---|
54 | 54 |
void av_free(void *ptr); |
55 | 55 |
|
56 | 56 |
void *av_mallocz(unsigned int size); |
57 |
|
|
58 |
/** |
|
59 |
* Duplicates the string \p s. |
|
60 |
* @param s String to be duplicated. |
|
61 |
* @return Pointer to a newly allocated string containing a |
|
62 |
* copy of \p s or NULL if it cannot allocate it. |
|
63 |
*/ |
|
57 | 64 |
char *av_strdup(const char *s); |
58 | 65 |
|
59 | 66 |
/** |
Also available in: Unified diff