Mail Archives: cygwin/1999/01/26/22:03:14
On Tue, Jan 26, 1999, Serguei DACHIAN wrote:
>
> I am trying to use "settimeofday" in my code on B20.1+Win98, but it returns
> "-1", doesn't alter sytem clock and subsequent call to perror prints the
> following on the stdout:
>
> Error: Function not implemented
>
> So, what the problem is??? Is settimeofday really "not implemented" under
> CygWin??? Will (and when) it be implemented??? Is there some alternative
> function I can call to modify sytem clock???
Yep, it hasn't been implemented yet:
/* settimeofday: BSD */
extern "C"
int
settimeofday (const struct timeval *, const struct timezone *)
{
set_errno (ENOSYS);
return -1;
}
If someone sends me a patch to implement this and an assignment form,
I'd be happy to apply it. :-)
--
Geoffrey Noer
noer AT cygnus DOT com
-
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 -