MCPcopy Create free account
hub / github.com/git/git / xstrdup_toupper

Function xstrdup_toupper

strbuf.c:972–982  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

970}
971
972char *xstrdup_toupper(const char *string)
973{
974 char *result;
975 size_t len, i;
976
977 len = strlen(string);
978 result = xmallocz(len);
979 for (i = 0; i < len; i++)
980 result[i] = toupper(string[i]);
981 return result;
982}
983
984char *xstrvfmt(const char *fmt, va_list ap)
985{

Callers 1

git_gpg_configFunction · 0.85

Calls 1

xmalloczFunction · 0.85

Tested by

no test coverage detected