#include <glib.h>

int main()
{
	int i;
	char* string = calloc(5, sizeof(char));

	*string = 'Y';
	*(string + 1) = '\0';

	printf("String: %s\n", string);

	i = g_strlcat(string, "123", 0);

	printf("Return: %d\n\n", i);

	return 0;
}
