#define HZ2MS(hz) (1000/(hz)) void *emalloc(ulong);