#ifndef RANDOM__H1#define RANDOM__H23/* Copyright (C) 1991, 1996 Free Software Foundation, Inc.45----------------------------------------------------------6Random numbers that return the same sequence on all platforms.7Implementation taken from the GNU C Library. The same copyright8applies.9----------------------------------------------------------1011The GNU C Library is free software; you can redistribute it and/or12modify it under the terms of the GNU Lesser General Public13License as published by the Free Software Foundation; either14version 2.1 of the License, or (at your option) any later version.1516The GNU C Library is distributed in the hope that it will be useful,17but WITHOUT ANY WARRANTY; without even the implied warranty of18MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU19Lesser General Public License for more details.2021You should have received a copy of the GNU Lesser General Public22License along with the GNU C Library; if not, write to the Free23Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA2402111-1307 USA. */2526void portable_srand(unsigned int seed);27int portable_rand(void);2829#endif /* RANDOM__H */303132/* The largest number rand will return (same as INT_MAX). */33#define RAND_MAX 214748364734/* intentionally outside the #ifdef RANDOM__H block */35/* You must overwrite the system RAND_MAX! */36373839