From fc4de7058d30387e302147c6131f85440987fe5c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 24 Oct 1999 23:55:16 +0000 Subject: Update. 1999-10-20 Andreas Jaeger * manual/socket.texi (Address Formats): Describe usage of AF_UNIX versus AF_LOCAL. Patch by Robert Bihlmeyer . --- manual/socket.texi | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'manual') diff --git a/manual/socket.texi b/manual/socket.texi index 0c8fef3f8c..ab94f29d85 100644 --- a/manual/socket.texi +++ b/manual/socket.texi @@ -335,11 +335,15 @@ This designates the address format that goes with the local namespace. Details}, for information about this address format. @comment sys/socket.h -@comment BSD +@comment BSD, Unix98 @item AF_UNIX @vindex AF_UNIX -This is a synonym for @code{AF_LOCAL}, for compatibility. -(@code{PF_UNIX} is likewise a synonym for @code{PF_LOCAL}.) +This is a synonym for @code{AF_LOCAL}. Although @code{AF_LOCAL} is +mandated by POSIX.1g, @code{AF_UNIX} is portable to more systems. +@code{AF_UNIX} was the traditional name stemming from BSD, so even most +POSIX systems support it. It is also the name of choice in the Unix98 +specification. (The same is true for @code{PF_UNIX} +vs. @code{PF_LOCAL}). @comment sys/socket.h @comment GNU -- cgit 1.4.1