From owner-freebsd-questions Thu Oct 26 18:05:37 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA10109 for questions-outgoing; Thu, 26 Oct 1995 18:05:37 -0700 Received: from eel.dataplex.net (EEL.DATAPLEX.NET [199.183.109.245]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id SAA10096 for ; Thu, 26 Oct 1995 18:05:32 -0700 Received: from [199.183.109.242] (cod [199.183.109.242]) by eel.dataplex.net (8.6.11/8.6.9) with SMTP id UAA02281 for ; Thu, 26 Oct 1995 20:05:19 -0500 X-Sender: rkw@shark.dataplex.net Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 26 Oct 1995 19:05:19 -0600 To: questions@freebsd.org From: rkw@dataplex.net (Richard Wackerbarth) Subject: Help -- Stupid "C" question. Sender: owner-questions@freebsd.org Precedence: bulk OK, I know I am overlooking something simple, but I can't see it. #include #include #include main () { printf("It is now %s\n", ctime(time())); }; I also tried ctime(time((time_t*)0)) ctime(time(NULL)) and ctime(1000000) The last one gave an answer, the rest core dumped. What should I use? ---- Richard Wackerbarth rkw@dataplex.net