Yes, there is a xcalloc in xmalloc.h/.c.
Index: rcsutil.c
===================================================================
RCS file: /cvs/src/usr.bin/rcs/rcsutil.c,v
retrieving revision 1.39
diff -u -p -r1.39 rcsutil.c
--- rcsutil.c 16 Apr 2013 20:24:45 -0000 1.39
+++ rcsutil.c 25 May 2014 10:56:54 -0000
@@ -479,12 +479,10 @@ rcs_splitlines(u_char *data, size_t len)
struct rcs_line *lp;
size_t i, tlen;
- lines = xmalloc(sizeof(*lines));
- memset(lines, 0, sizeof(*lines));
+ lines = xcalloc(1, sizeof(*lines));
TAILQ_INIT(&(lines->l_lines));
- lp = xmalloc(sizeof(*lp));
- memset(lp, 0, sizeof(*lp));
+ lp = xcalloc(1, sizeof(*lp));
TAILQ_INSERT_TAIL(&(lines->l_lines), lp, l_list);