char *strxxxcpy(char *restrict dst, const char *restrict src, size_t len) { char *result = strxcpy(dst, src, len); assert(result); return result; }
The library function presented to most developers (especially a novice one) should reflect the most common case, not the more-easy-to-compose case.