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/tcp.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/tcp.7')
| -rw-r--r-- | man7/tcp.7 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man7/tcp.7 b/man7/tcp.7 index c641d2f907..1723a05333 100644 --- a/man7/tcp.7 +++ b/man7/tcp.7 @@ -12,7 +12,7 @@ .\" documented: tcp_mtu_probing, tcp_base_mss, and .\" tcp_workaround_signed_windows .\" -.TH TCP 7 2007-11-25 "Linux" "Linux Programmer's Manual" +.TH TCP 7 2008-08-08 "Linux" "Linux Programmer's Manual" .SH NAME tcp \- TCP protocol .SH SYNOPSIS @@ -22,7 +22,7 @@ tcp \- TCP protocol .br .B #include <netinet/tcp.h> .sp -.B tcp_socket = socket(PF_INET, SOCK_STREAM, 0); +.B tcp_socket = socket(AF_INET, SOCK_STREAM, 0); .SH DESCRIPTION This is an implementation of the TCP protocol defined in RFC\ 793, RFC\ 1122 and RFC\ 2001 with the NewReno and SACK |
