Logo Search packages:      
Sourcecode: pulseaudio version File versions  Download package

char* pa_xstrdup ( const char *  s  ) 

Duplicate the specified string, allocating memory with pa_xmalloc()

Definition at line 103 of file xmalloc.c.

                                {
    if (!s)
        return NULL;

    return pa_xmemdup(s, strlen(s)+1);
}


Generated by  Doxygen 1.6.0   Back to index