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

char* avahi_strdup_printf ( const char *  fmt,

Like sprintf() but store the result in a freshly allocated buffer. Free this with avahi_free()

Definition at line 235 of file malloc.c.

    char *s;
    va_list ap;


    va_start(ap, fmt);
    s = avahi_strdup_vprintf(fmt, ap);

    return s;

Generated by  Doxygen 1.6.0   Back to index