Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!cbosgd!db From: db@cbosgd.UUCP (Deceased Bird) Newsgroups: net.micro.mac Subject: Re: Aztec 1.06H.1 disk & nested func calls Message-ID: <2273@cbosgd.UUCP> Date: Tue, 8-Jul-86 22:11:17 EDT Article-I.D.: cbosgd.2273 Posted: Tue Jul 8 22:11:17 1986 Date-Received: Thu, 10-Jul-86 04:45:50 EDT References: <2256@cbosgd.UUCP> <347@aecom.UUCP> Reply-To: db@cbosgd.UUCP (Deceased Bird) Distribution: na Organization: The Pet Shoppe, EC1 Lines: 18 Keywords: Can you spell "fubar"? g/compiler bug/s//programmer error/g In article <347@aecom.UUCP> naftoli@aecom.UUCP (Robert N. Berlinger) writes: >> I was doing a call like: >> >> strcpy(s, ctime(time((time_t)NULL))); >> [/etc, /etc] >> > >These are not equivalent! "time((time_t)NULL)" does not return a >pointer, it returns a time_t. Ctime, however, does expect a >pointer, which you properly passed in your second version. There >is no way to nest them, in this case. I sit corrected. Thanks for pointing this out! (Send me e-mail to collect your prize! {Hurry, supplies are limited!}) Dave Bursik/..cbosgd!db