home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi.graphics
- Path: sparky!uunet!usc!sdd.hp.com!ux1.cso.uiuc.edu!cs.uiuc.edu!vela!sglanger
- From: sglanger@vela.acs.oakland.edu (LANGER STEVEN C)
- Subject: IRIX time
- Message-ID: <1993Jan22.144157.3002@vela.acs.oakland.edu>
- Organization: Oakland University, Rochester MI.
- Distribution: na
- Date: Fri, 22 Jan 1993 14:41:57 GMT
- Lines: 30
-
- I'm using an Indigo with IRIX 4.0
-
- the code
- buf = ctime ((const time_t *) time);
- printf ("buf=%s\n", buf);
-
- always prints, no matter how often I call it, something like;
-
- Sat. Jan. 10, 1989 12:43:01
-
- (this may be the wrong order of data as I'm typeing this from
- memory). The point is, typeing "date"
- at the command line gives the correct
- info. Why doesn't the code?
-
- thanks in advance, steve
-
-
-
- --
- Steve Langer sglanger@argo.acs.oakland.edu (VMS)
- Oakland University sglanger@vela.acs.oakland.edu (Ultrix)
- ---------------------------------------------------------------------------
- Standard disclaimers apply. In addition, the author makes no guarantees,
- concerning the grammatical accuracy of his writing. Therefore, any ^B's, ^C's,
- midword character additions/deletions and other non-sense which occurs (after
- the work leaves the author's decade old text editor via his decade old Amiga,
- struggles through a local 1200 baud Merit server to be further mauled via the
- remote VAX mail servers) is someone elses problem - namely yours.
- ---------------------------------------------------------------------------
-