> > Does anyone know what I should use in place of random and srandom? > > Lesson # 3. Using the manual: Using the System V manual isn't sufficient; you need the 4.2BSD manual to tell you what "random" does in the first place. The guy may not have a 4.2BSD manual, in which case telling him to "use the manual" doesn't help much. Guy Harris