[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] non-null declarations
From: |
Bruno Haible |
Subject: |
Re: [PATCH] non-null declarations |
Date: |
Thu, 10 Dec 2009 19:41:28 +0100 |
User-agent: |
KMail/1.9.9 |
Paolo Bonzini wrote:
> accept4 has to be fixed to use ((2, 3)). :-)
No, the second arg of accept4 can be NULL. See
<http://www.kernel.org/doc/man-pages/online/pages/man2/accept4.2.html>
"When addr is NULL, nothing is filled in; in this case, addrlen is not used,
and should also be NULL."
I have to remove the annotations for accept() and accept4().
> > OpenGL macro names start with GL_. So if we choose the prefix _GL_ we're
> > not likely to collide.
>
> What about internal OpenGL macro names?
They start with GL or __GL. Not with _GL.
Bruno
Re: [PATCH] non-null declarations, Eric Blake, 2009/12/10
Re: [PATCH] non-null declarations, Bruno Haible, 2009/12/10
Re: non-null declarations, recvfrom, sendto, Bruno Haible, 2009/12/10