Is AF_UNIX really deprecated?

Erik Trulsson Erik.Trulsson.1013 at student.uu.se
Sun Jun 22 07:51:22 UTC 2014


Citerar Garrett Wollman <wollman at csail.mit.edu>:

> <<On Fri, 20 Jun 2014 10:53:18 +0800, Kevin Lo <kevlo at FreeBSD.org> said:
>
>> It seems that the word "deprecated" may lead to misunderstanding.
>> The diff below removes "deprecated" to socket(2).  Does it look ok?  Thanks.
>
> I think this is an improvement.  I've removed some of the unsupported
> families from this listing and added others that were never
> documented.  We should consider whether to stop documenting the PF_*
> constants and use only AF_* constants; although this is bogus in terms
> of semantics, it's what POSIX has standardized.

I think the PF_* constants should remain documented - if only to help  
understanding programs that use them.  Adding a note that they are  
non-standardized equivalents to the AF_* constants, or something like  
that, would probably be a good idea though.






More information about the freebsd-standards mailing list