randomize_fd
ret = randomize_fd(fd, random_type, unique_output, denom);
int randomize_fd(int fd, int type, int unique, double denom);