🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4196

gettimeofday

#4196
From: suresh
Date: Fri, 06 Oct 1995 20:50
8 lines
749 bytes
Why is it that gettitmeofday fuction returns correct answers when the timeval 
and timezone parameters are passed as addresses rather than as pointer 
variables. i.e getitimeofday(&tp, &tzp) works. where as gettimeofday(tp, tzp) 
where tp and tzp are declared as 
      struct timeval *tp; struct timezone *tzp;    does not work.
thanks,
Suresh.
Technical Details
Message-ID: <453r0e$d7g@news.intelsat.int>
Path: arc1-ca.pugleaf.net!news.intelsat.int!usenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.intelsat.int!usenet
From: suresh@pc4h29.adm.intelsat.int
Newsgroups: comp.std.c
Subject: gettimeofday
Date: Fri, 06 Oct 95 13:50:41 PDT
Organization: Intelsat
Message-ID: <453r0e$d7g@news.intelsat.int>
NNTP-Posting-Host: 164.86.9.163
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Newsreader: NEWTNews & Chameleon -- TCP/IP for MS Windows from NetManage