Document libavutil/mem.h:av_strdup.

patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10456 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini 2007-09-09 13:23:34 +00:00 committed by Diego Biurrun
parent 081c9d1d7b
commit d3de3ee2bd
1 changed files with 7 additions and 0 deletions

View File

@ -54,6 +54,13 @@ void *av_realloc(void *ptr, unsigned int size);
void av_free(void *ptr);
void *av_mallocz(unsigned int size);
/**
* Duplicates the string \p s.
* @param s String to be duplicated.
* @return Pointer to a newly allocated string containing a
* copy of \p s or NULL if it cannot allocate it.
*/
char *av_strdup(const char *s);
/**