🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sequent
Article #472

libX11.a funkiness

#472
From: Ken Mayer
Date: Tue, 12 Feb 1991 22:45
41 lines
1042 bytes
Anyone else seen this:

Compile this little program:

----- cut here ----
#include <stdio.h>
#include <time.h>

struct timezone {
  int tz_minuteswest;
  int tz_dsttime;
};

main()

{
struct timeval  TimeVal;
struct timezone TimeZone;

gettimeofday(&TimeVal, &TimeZone);

}
----- cut here -----

compile with:

cc -g test.c -o test -lX11 -lseq

And run it.
I get the following on standard output:
Warning: gettimeofday() emulation does not return timezone

System config:
S27
DYNIX/ptx(R) Base V1.1.0.1
ptx/WINDOWS 2.0p-b
-- 
Ken Mayer						ken@visix.com
Technical Support Engineer				...!uunet!visix!ken
Visix Software Inc.					 703.758.8230
Technical Details
Message-ID: <1991Feb12.224512.20206@visix.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!visix!ken

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!visix!ken
From: ken@nsx.visix.com (Ken Mayer)
Newsgroups: comp.sys.sequent
Subject: libX11.a funkiness
Message-ID: <1991Feb12.224512.20206@visix.com>
Date: 12 Feb 91 22:45:12 GMT
Sender: ken@visix.com (Ken Mayer)
Organization: Visix Software Inc., Reston, VA
Lines: 41