common/util.c