[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: On OpenBSD and if_freenameindex(3).
From: |
Bruno Haible |
Subject: |
Re: On OpenBSD and if_freenameindex(3). |
Date: |
Tue, 21 Sep 2010 19:15:37 +0200 |
User-agent: |
KMail/1.9.9 |
Mats Erik Andersson wrote:
> In OpenBSD (definitely in 4.6) there is a POSIX violation,
> quoting Simon here, since the header file states
>
> ### /usr/include/net/if.h
>
> #define if_freenameindex(x) free(x)
>
> This macro causes difficulties ...
Indeed, according to POSIX:2008 [1], a macro may be provided by the system, but
the function needs to be provided as well.
Bruno
[1]
http://www.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_01_01
- Re: On OpenBSD and if_freenameindex(3)., (continued)
Re: On OpenBSD and if_freenameindex(3)., Eric Blake, 2010/09/21
Re: On OpenBSD and if_freenameindex(3).,
Bruno Haible <=