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

char* icalmemory_tmp_copy ( const char *  str  ) 

Like strdup, but the buffer is on the ring.

Definition at line 230 of file icalmemory.c.

References icalmemory_tmp_buffer().

{
    char* b = icalmemory_tmp_buffer(strlen(str)+1);

    strcpy(b,str);

    return b;
}


Generated by  Doxygen 1.6.0   Back to index