* Copyright (c) 1990 The Regents of the University of California.
* %sccs.include.redist.c%
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid
[] = "@(#)rand.c 5.3 (Berkeley) %G%";
#endif /* LIBC_SCCS and not lint */
return ((next
= next
* 1103515245 + 12345) % RAND_MAX
);