Re: Glib rand() function
- From: Sebastian Wilhelmi <wilhelmi ira uka de>
- To: gtk-devel-list redhat com
- Subject: Re: Glib rand() function
- Date: Sun, 20 Feb 2000 09:24:17 +0000
Hi Derek,
> Is rand() a system-independent function?
No.
> Should there be
>
> gint g_rand(void);
> void g_srand(guint seed);
In glib-1.3 there are such functions.
> functions? I'm writing a new data structure that might be a
> candidate for inclusion into Glib, but I need to use rand(). Considering
> that it returns an "int", I don't think rand is architecture independent.
Bye,
Sebastian
--
Sebastian Wilhelmi | här ovanför alla molnen
mailto:wilhelmi@ira.uka.de | är himmlen så förunderligt blå
http://goethe.ira.uka.de/~wilhelmi |
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]