| 970 | } |
| 971 | |
| 972 | char *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 | |
| 984 | char *xstrvfmt(const char *fmt, va_list ap) |
| 985 | { |
no test coverage detected