Path: utzoo!attcan!uunet!mcsun!unido!mikros!mwtech!martin From: martin@mwtech.UUCP (Martin Weitzel) Newsgroups: comp.lang.c Subject: NULL-Pointer or (T*)0-Pointers? (was Re: randomness) Message-ID: <716@mwtech.UUCP> Date: 11 Apr 90 20:40:50 GMT References: <21274@eerie.acsu.Buffalo.EDU> <4878@helios.TAMU.EDU> <1990Apr11.001355.25937@athena.mit.edu> Reply-To: martin@mwtech.UUCP (Martin Weitzel) Organization: MIKROS Systemware, Darmstadt/W-Germany Lines: 54 In article <1990Apr11.001355.25937@athena.mit.edu> scs@adam.mit.edu (Steve Summit) writes: >In article <4878@helios.TAMU.EDU> john@stat.tamu.edu (John S. Price) writes: >>srand(time(NULL)); > >Make that > > #include > srand((int)time((time_t)NULL)); Hmm, if I grep thru my /usr/lib/llib-lc (on a 386/ix) I find long time(t) long *t; { return (0L);} and grepping thru /usr/include/sys/types.h shows me typedef long time_t; /*