gcc implementation of rand() function
David Edelsohn
dje@watson.ibm.com
Sat May 10 17:41:00 GMT 2003
>>>>> Anton Litvinenko writes:
Anton> I am trying to study implementation of rand() function in C language.
Anton> I tried to search the source code of gcc, but didnt find it. Could
You be so nice and help me?
rand() is not defined in the C language, it is defined in the
Standard C Library, which is different. Please refer to the source code
for a C Library, such as the GNU C Library, not a compiler.
David
More information about the Gcc
mailing list