diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2008-08-08 16:47:53 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2008-08-08 16:47:53 +0000 |
| commit | d4c8c97c312455631c0c22151ad19b98c2eee3fd (patch) | |
| tree | 783a3dd69217af76d40f61c3858ab676e0ab71ce /man7/udp.7 | |
| parent | 77117f4fc55addbb657d1c87e2f86911d7e432c9 (diff) | |
| download | man-pages-d4c8c97c312455631c0c22151ad19b98c2eee3fd.tar.gz | |
s/PF_/AF_/ for socket family constants. Reasons: the AF_ and
PF_ constants have always had the same values; there never has
been a protocol family that had more than one address family,
and POSIX.1-2001 only specifies the AF_* constants.
Diffstat (limited to 'man7/udp.7')
| -rw-r--r-- | man7/udp.7 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man7/udp.7 b/man7/udp.7 index 243d313467..742471b143 100644 --- a/man7/udp.7 +++ b/man7/udp.7 @@ -5,7 +5,7 @@ .\" of the modification is added to the header. .\" $Id: udp.7,v 1.7 2000/01/22 01:55:05 freitag Exp $ .\" -.TH UDP 7 1998-10-02 "Linux" "Linux Programmer's Manual" +.TH UDP 7 2008-08-08 "Linux" "Linux Programmer's Manual" .SH NAME udp \- User Datagram Protocol for IPv4 .SH SYNOPSIS @@ -13,7 +13,7 @@ udp \- User Datagram Protocol for IPv4 .br .B #include <netinet/in.h> .sp -.B udp_socket = socket(PF_INET, SOCK_DGRAM, 0); +.B udp_socket = socket(AF_INET, SOCK_DGRAM, 0); .SH DESCRIPTION This is an implementation of the User Datagram Protocol described in RFC\ 768. |
