introduce rand_i() (libc can't change rand's seed by calling it internally)
#include <sys/cdefs.h> extern int rand_i(void) __THROW;