[comp.sys.sequent] libX11.a funkiness

ken@nsx.visix.com (Ken Mayer) (02/13/91)

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