Path: news.mv.net!newsfeed.mathworks.com!sunqbc.risq.qc.ca!feed.nntp.primus.ca!feed.nntp.primus.ca!news2.tor.primus.ca.POSTED!not-for-mail From: "Peter Erceg" Newsgroups: comp.os.msdos.djgpp Subject: gmtime() example in libc.info Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: Date: Sun, 3 Sep 2000 03:51:47 -0600 NNTP-Posting-Host: 207.176.137.77 X-Complaints-To: news AT primus DOT ca X-Trace: news2.tor.primus.ca 967974691 207.176.137.77 (Sun, 03 Sep 2000 05:51:31 EDT) NNTP-Posting-Date: Sun, 03 Sep 2000 05:51:31 EDT Organization: Primus Canada Xref: news.mv.net comp.os.msdos.djgpp:103119 There is a typo in the last line of the gmtime() example in libc.info (File: libc - Node: gmtime) time_t x; struct tm *t; time(&x); t = gmtime(&t); Last line should read: t = gmtime(&x);