home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sgi / graphics / 184 < prev    next >
Encoding:
Text File  |  1993-01-22  |  1.5 KB  |  41 lines

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