dev • api • name • gb.newzerostring


char* GB.NewZeroString ( const char *copy );

Allocates a new string by coying an existing one.

  • copy is the address of the string to copy.

Then return a pointer to the new string.

The function assumes that copy points to a null-terminated string, and calculates its length with the strlen() function.

See also