delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/09/22/03:41:44

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: using times()
22 Sep 1997 03:41:44 -0700 :
Message-ID: <01BCC761.F51A54F0.cygnus.gnu-win32@sos>
To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>,
"'fine AT mail DOT cern DOT ch'"
<fine AT mail DOT cern DOT ch>
Cc: "'Geoffrey Noer'" <noer AT cygnus DOT com>

Valery Fine wrote:
> On 22 Sep 97 at 8:33, Sergey Okhapkin wrote:
> 
> 
> > times() call works on NT only. The underlying syscall
> > GetProcessTimes() unimplemented on windows 95. The output of your
> > examle looks the following on my box (NT4.0 SP3):
> 
>   Probably like this would be better then just ZERO:
> 

I'm not sure. Probably, it's better to return -1 and to set errno to ENOSYS, rather than return incorrect value.

-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019