Marking select(2) as restrict
Tijl Coosemans
tijl at FreeBSD.org
Thu Feb 22 10:29:05 UTC 2018
On Wed, 21 Feb 2018 12:44:00 +0200 Konstantin Belousov <kostikbel at gmail.com> wrote:
> On Tue, Feb 20, 2018 at 10:14:05PM -0800, Eitan Adler wrote:
>> On 20 February 2018 at 21:19, Warner Losh <imp at bsdimp.com> wrote:
>>> Once upon a time, this would break a lot of code. Perhaps times have
>>> changed.
>>
>> I've seen very little code that this would break though some of it
>> certainly exists.
> You certainly seen very little code, but the question was about the
> existed code.
FWIW, it seems that glibc uses restrict since 2000 so there's unlikely to
be much fallout:
https://sourceware.org/git/?p=glibc.git;a=blob;f=misc/sys/select.h
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=98cbe360d947b59e7a5eda068581f4cfeb4b99b3
More information about the freebsd-hackers
mailing list