Pseudorandom numbers

I found online this implementation of the algorithm in C Blum Blum Shum, for the generation of pseudorandom numbers: http://www.connotech.com/PEKEPRGM.HTM
This program prints pseudorandom strings, while I have to get one pseudo-random number for each call of the generator function.
Any suggestions about how to modify the proposed code?
Thanks in advance for your answers.
Topic archived. No new replies allowed.