afc_string_clear

Name

afc_string_clear  -- Empty the contents of a string

Synopsis

char * afc_string_clear ( char * str );

Description

This function deletes all the contents of an AFC string. It is similar to /afc_string_copy (str,"",ALL)/ but faster.

Inputs

string

The string to clear. MUST be an AFC string_new, created using the afc_string_new() command.

Result

str

Resulting string.

Note

See Also