afc_string_dup

Name

afc_string_dup  -- Creates a new string with the same contents of the given one

Synopsis

char * afc_string_dup ( const char * string );

Description

This function allocates a new AFC string and copies the contents of the provided string into it, It is a shorthand for afc_string_new() and afc_string_copy()

Inputs

string

String to be copied. It doesn't necessarily be an AFC string.

Result

Note

See Also