15 len = 79 - strlen(left) - strlen(middle) - strlen(right);
16 buf_len = len + strlen(left) + strlen(middle) + strlen(right);
17 buf = (
char *)
G_calloc(buf_len,
sizeof(
char));
18 G_snprintf(buf, buf_len,
"%s%*s%s%*s%s", left, len / 2,
"", middle, len / 2,
int G_snprintf(char *, size_t, const char *,...) __attribute__((format(printf
const char * G_mapset(void)
Get current mapset name.
const char * G_location(void)
Get current location name.
char * I_location_info(const char *middle)