pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NVMM not working anymore in qemu since 6.1.0 upgrade



On Sat, Sep 18, 2021 at 05:58:20PM +0200, Yorick Hardy wrote:
> Did I misread SUSV? It says:
> 
>  https://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/socket.h.html
> 
>  The <sys/socket.h> header shall define the sockaddr structure that includes
>  at least the following members:
> 
>  sa_family_t  sa_family  Address family.
>  char         sa_data[]  Socket address (variable-length data).
> 
> and
> 
>  The sockaddr_storage structure shall include at least the following members:
> 
>  sa_family_t ss_family
> 
> but I could not find sa_len mentioned (but perhaps I did not search enough).

You are right, can't use it for portable code w/o some ifdefs :-/

Martin


Home | Main Index | Thread Index | Old Index