This is a discussion on portable random function: can someone explain it? within the C Programming forums, part of the General Programming Boards category; Originally Posted by laserlight I'd say that it is not guaranteed to work. As far as I can tell, time_t ...
Isn't an integer underflow, as this uses, undefined behaviour as well? I'm not completely sure here...