Newsgroups: comp.unix.programmer
Path: utzoo!censor!geac!itcyyz!xrtll!silver
From: silver@xrtll.uucp (Hi Ho Silver)
Subject: Re: How to get the time of the day in C?
Reply-To: silver@xrtll.UUCP (Hi Ho Silver)
Organization: Yeah, right.
Date: Sat, 12 Jan 91 20:41:15 GMT
Message-ID: <1991Jan12.204115.11187@xrtll.uucp>
References: <2584@trlluna.trl.oz>

In comp.unix.programmer, hui@shiva.trl.oz (Alvaro Hui) typed:
$ Unfortunately, I "man -k time" and search through all my 'C' books
$and couldn't came up an idea how to get current time in C.

   Look through sys/time.h for a line similar to

time_t time (time_t *timer);

   It returns the calendary time; also look for the definition of time_t.
-- 
 __            __  _  | ...!nexus.yorku.edu!xrtll!silver |  always
(__  | | |  | |_  |_) >----------------------------------< searching
 __) | |_ \/  |__ | \ | if you don't like my posts, type |    for
_____________________/  find / -print|xargs cat|compress |   SNTF
