This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc implementation of rand() function


>>>>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]