char* axl_stream_to_upper_copy ( const char *  chunk  ) 

Allows to perform a to upper operation, like axl_stream_to_upper, but returning an new allocated reference.

Parameters:
chunk The string reference to upper.
Returns:
A new reference allocated containing the result or NULL if it fails.