4 int __clock_gettime(clockid_t, struct timespec *);
6 /* This assumes that a check for the
7 template size has already been made */
8 char *__randname(char *template)
14 __clock_gettime(CLOCK_REALTIME, &ts);
15 r = ts.tv_nsec*65537 ^ (uintptr_t)&ts / 16 + (uintptr_t)template;
16 for (i=0; i<6; i++, r>>=5)
17 template[i] = 'A'+(r&15)+(r&16)*2;