Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 1995 14:40:48 +0900
From:      YOSHIDA Nobuaki <nyoshi@kaba.or.jp>
To:        questions@freebsd.org
Subject:   Re: Help -- Stupid "C" question. 
Message-ID:  <199510270540.OAA00642@trek.kaba.or.jp>
In-Reply-To: Your message of "Thu, 26 Oct 95 19:05:19 CST." <v02130500acb5df16dbb7@[199.183.109.242]> 

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> " " == Richard Wackerbarth <rkw@dataplex.net> writes:
 >  ctime(time((time_t*)0))
 >  ctime(time(NULL))

The ctime() function takes an argument with the type "time_t *",
but, time() returns a value which type is "time_t". :)
--- 
YOSHIDA Nobuaki, Kyoto Artificial Brain Associates, Kyoto, JAPAN
                                                    nyoshi@kaba.or.jp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510270540.OAA00642>