[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <84a01a8b0903271625y30a56113l87aa517385120e6@mail.gmail.com>
Date: Sat, 28 Mar 2009 00:25:38 +0100
From: nicolas sitbon <nicolas.sitbon@...il.com>
To: Michael Tokarev <mjt@....msk.ru>
Cc: linux-kernel@...r.kernel.org
Subject: Re: epoll_ctl and const correctness
read() and poll() are very old functions, a long time ago, int was
nearly the only used type. Today, people uses good programming
practices, mixing information (the size read) and error is a very poor
design and a bad practice, as with read().
2009/3/28 Michael Tokarev <mjt@....msk.ru>:
> nicolas sitbon wrote:
>>
>> is it stupid to ask how a size can be negative? who is stupid? you're
>> boring with my question, just tell me please how a size can be
>> negative?
>
> Yes I'm bored with your questions. And am suggesting you to stop
> asking me now. That's enough.
>
> As of size being negative - how one can read() negative number
> of bytes for example? How one can poll() waiting for a maximum
> of negative number of milliseconds?
>
> This is my last reply to you. I have something more useful to do.
>
> /mjt
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists