This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: [AVShutko@mail.khstu.ru: Re[2]: [AVShutko@mail.khstu.ru: Re: BUG in sendto() function]]
- To: cygwin-patches at cygwin dot com
- Subject: Re: [AVShutko@mail.khstu.ru: Re[2]: [AVShutko@mail.khstu.ru: Re: BUG in sendto() function]]
- From: Corinna Vinschen <cygwin-patches at cygwin dot com>
- Date: Tue, 6 Nov 2001 10:40:23 +0100
- References: <20011105201631.A1067@redhat.com>
On Mon, Nov 05, 2001 at 08:16:31PM -0500, Christopher Faylor wrote:
> I meant to ask if this patch made sense before sending 1.3.4 out the door.
>
> Anyone have any opinions? I'venever used ualarm but this seems straightforward
> enough. It's small enough to include without an assignment.
Let's put it in.
Corinna
>
> cgf
>
> ----- Forwarded message from "Alexandr V. Shutko" <AVShutko@mail.khstu.ru> -----
>
> From: "Alexandr V. Shutko" <AVShutko@mail.khstu.ru>
> To: egor duda <cygwin@cygwin.com>
> Subject: Re[2]: [AVShutko@mail.khstu.ru: Re: BUG in sendto() function]
> Date: Sat, 13 Oct 2001 12:32:37 +1100
> Reply-To: "Alexandr V.Shutko" <AVShutko@mail.khstu.ru>
> Organization: KhSTU
> In-reply-To: <138167630259.20011011140809@logos-m.ru>
>
>
> P.S. Why don't you implement ualarm function in cygwin ?
>
> ####################################################################
> u_int ualarm (u_int value, u_int interval)
> {
> struct itimerval timer, otimer;
>
> timer.it_value.tv_sec = 0;
> timer.it_value.tv_usec = value;
> timer.it_interval.tv_sec = 0;
> timer.it_interval.tv_usec = interval;
>
> if (setitimer (ITIMER_REAL, &timer, &otimer) < 0) return (u_int)-1;
>
> return (otimer.it_value.tv_sec * 1000000) + otimer.it_value.tv_usec;
> }
> ####################################################################
>
> --
> With respect,
> Alexandr V. Shutko mailto:AVShutko@mail.khstu.ru
>
> ----- End forwarded message -----
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.