🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.sequent
1 messages
1 total messages Started by Ken Mayer Tue, 12 Feb 1991 22:45
libX11.a funkiness
#472
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads